Compartilhar via


2.2.4.35 ServiceDefaultPortsType

ServiceDefaultPortsType MUST contain the values that are used for the default ports when constructing a listener. These values SHOULD be read-only. The schema MUST be as shown here.

 <xs:schema xmlns:cfg="http://schemas.microsoft.com/wbem/wsman/1/config" 
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://schemas.microsoft.com/wbem/wsman/1/config"
  elementFormDefault="qualified">
   <xs:complexType name="ServiceDefaultPortsType">
     <xs:sequence>
       <xs:element name="HTTP" type="xs:unsignedInt" default="5985"/>
       <xs:element name="HTTPS" type="xs:unsignedInt" default="5986"/>
     </xs:sequence>
   </xs:complexType>
 </xs:schema>
  

Elements

HTTP: Port used by the service when using the HTTP protocol. The minimum value MUST be 1. The maximum value MUST be 65535. The default value SHOULD be 5985 but MAY be 80.<15>

HTTPS: Port used by the service when using the HTTPS protocol. The minimum value MUST be 1. The maximum value MUST be 65535. The default value SHOULD be 5986, but MAY be 443.<16>

These configuration settings are used when creating a listener.