Issue in WinRM on Linux

Michal Prívozník mprivozn at redhat.com
Mon Apr 11 11:50:21 UTC 2022


On 4/11/22 12:49, Nishit Sharma wrote:
> Hi Michal,
> 
> Thing is the winRM from linux is unable to open remote shell in windows
> guest as mentioned in error logs. I am using NAT mode but didn’t use
> port forwarding. Firewall for 5985 is open in windows guest and from
> linux I can connect with windows guest through Enter-PSSession and
> telnet. Even on guest os localhost:5985/wsman is showing http error 405,
> no page.
> Any suggestions?

Where is the winRM running? is it on the host that's running the Windows
VM? Because if it is, then you shouldn't need any port forwarding as the
host has access to the bridge and VM's NIC directly. Otherwise, you'll
need port forwarding.

Are you connecting from another VM? Then try checking firewall in the
host. At any rate, I'm still failing to see what can libvirt do to help.

Michal



More information about the libvir-list mailing list