How to list the configured listeners on Microsoft Windows Vista or Windows 2008

book

Article ID: 177697

calendar_today

Updated On:

Products

Security Information Manager

Issue/Introduction

How to list the configured listeners on Microsoft Windows Vista or Windows 2008

 

Resolution

In a command Window as a local Administrator run the command below:

winrm enumerate winrm/config/Listener

Below is example output.

Listener
Address = *
Transport = HTTP
Port = 80
Hostname = win-gjt9pv9ijmk
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 10.0.10.238, 127.0.0.1, ::1, fe80::100:7f:fffe%11, fe80::5efe:10.0.10.238%17, fe80::e184:526f:afc6:43f0%10

Listener
Address = *
Transport = HTTPS
Port = 443
Hostname = win-gjt9pv9ijmk
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 10.0.10.238, 127.0.0.1, ::1, fe80::100:7f:fffe%11, fe80::5efe:10.0.10.238%17, fe80::e184:526f:afc6:43f0%10

Note: Windows 2008 R2 now uses the following ports for its default winrm configuration: ports HTTP = 5985 and HTTPS = 5986.