• |
WinRM 1.1 and earlier: The default HTTP port is 80, and the default HTTPS port is 443. |
• |
WinRM 2.0 and later: The default HTTP port is 5985, and the default HTTPS port is 5986. |
After issuing the winrm quickconfig command, the listener port number can be determined using the winrm enum winrm/config/listener command. For example:
-Djdk.tls.client.protocols=TLSv1, TLSv1.1, TLSv1.2
The Port and Transport elements contain important information. The above command output identifies an HTTP listener on port 5985.
The important properties are AllowUnencrypted (it indicates whether HTTP is allowed or not), and the Auth values that are set to true (enabled), namely Basic and Negotiate. In this example, both authentication types are enabled.
For more information on setting up for HTTPS, see About WinRM authentication and the Agent Manager .
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center