Windows Remote Management ( WinRM ):- Which Network Port?


Earlier I was troubleshooting an application that relies on WinRM.

Based on the error I knew I had network connectivity issue.

Error Message

I do not have the error message captured pictorially.

But, here is a simulation.



Starting labWebServer01 app pool WebservicesSales...
[labWebServer01] Connecting to remote server labWebServer01 failed with the following
error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the
computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows
access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote
computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (labWebServer01:String) [], PSRemotingTransportException
    + FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionStateBroken



There are a few ways to troubleshoot network connectivity issues.

For now let us make sure that the destination host has availed WMI and that it is running off his default network port ( 5985 ).

To determine winrm’s listener configuration, we will use “winrm enumerate winrm/config/listener“.



WinRM – Enumerate Listener

winrm enumerate winrm/config/listener


winrm enumerate winrm/config/listener


winrm enumerate winrm/config/listener

Output – Image

Output – Text

>winrm enumerate winrm/config/listener
Listener [Source="GPO"]
    Address = *
    Transport = HTTP
    Port = 5985
    Enabled = true
    URLPrefix = wsman
    ListeningOn =,

  1. Address
    • Network Bindings
      • *
      • (*) mean all local host network interfaces
  2. Transport Protocol
    • HTTP
  3.  Enabled
    • True
  4. URL Prefix
    • wsman
  5. Certificate Thumbprint
    • Empty
    • Not using HTTPS
  6. Listening On
    • Local Network Interfaces



I give too much time to this Tech stuff.

But, wifey happy she eating well.

She looking good!



Moving on folks, as nothing to see

J. Cole – Grew up fast


Young One

As a freshman, J. Cole has Big Sean sitting in.
And, he ain’t even ask for an assist.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s