C:\Users\Administrator>winrm enumerate winrm/config/listener
Listener
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 10.104.56.54, 127.0.0.1
请问在 ListeningOn 选项下,如何增加监听 一个公网 IP ?
把ListeningOn改为
0.0.0.0
试试,确保公网连得上这台机器。