N
N
NewDevLab2020-09-08 18:32:51
PowerShell
NewDevLab, 2020-09-08 18:32:51

WinRm is not listening to all addresses?

Windows 2012

> winrm e winrm/config/listener
Listener
    Address = *
    Transport = HTTP
    Port = 5985
    Hostname
    Enabled = true
    URLPrefix = wsman
    CertificateThumbprint
    ListeningOn = <RealIp>, 127.0.0.1, 169.254.103.82, 169.254.173.192, 169.254.237.79, 192.168.192.6

>netstat -a -p TCP
  TCP    <RealIp>:5985     comp:0                  LISTENING
  TCP    127.0.0.1:5985    comp:0                  LISTENING


there is no LISTENING on 192.168.192.6.
how to do?
it doesn’t work on W2012R2, everything is ok for 2019.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
azarij, 2020-09-08
@NewDevLab

look here https://social.technet.microsoft.com/Forums/lync/e...
there you need to see what netsh sees and if it sees 127... then delete it from there using netsh. maybe then winrm quickconfig will need to be run to set everything up properly.
here it may also be useful to look at https://stackoverflow.com/questions/17281224/confi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question