Friday, March 11, 2016

The WinRM service is not listening for HTTP requests - (http://+:47001/wsman/) in HTTP.SYS.

I have received the following error in event log" The WinRM service is not listening for HTTP requests because there was a failure binding to the URL (http://+:47001/wsman/) in HTTP.SYS " while trying to start winrm service in windows 2008R2 server 



Log Name:      System
Source:        Microsoft-Windows-WinRM
Date:          2/28/2016 6:47:24 AM
Event ID:      10128
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxxxxxxxxxxxxxx
Description:
The WinRM service is not listening for HTTP requests because there was a failure binding to the URL (http://+:47001/wsman/) in HTTP.SYS.

 No remote requests will be serviced on that URL.

 User Action
 Please use "netsh http" to check if ACL for URL (http://+:47001/wsman/) is set to Network Service.

 Additional Data
 The error code received from HTTP.sys is 1214: %%1214




Logs says "  
 Please use "netsh http" to check if ACL for URL (http://+:47001/wsman/) is set to Network Service."


I checked and found that the ACL for URL (http://+:47001/wsman/) is already in place and set to Network Service.






:\Users\xxxxxxxxxxxxxx>netsh http show urlacl

URL Reservations:
-----------------

Reserved URL :
http://*:2869/
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;LS)

Reserved URL :
http://*:5357/
User: BUILTIN\Users
Listen: Yes
Delegate: No
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)

Reserved URL :
https://*:5358/
User: BUILTIN\Users
Listen: Yes
Delegate: No
User: NT AUTHORITY\LOCAL SERVICE
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)

Reserved URL :
https://+:443/sra_{BA195980-CD49-458b-9E23-C84EE0A
DCD75}/
User: NT SERVICE\SstpSvc
Listen: Yes
Delegate: Yes
User: BUILTIN\Administrators
Listen: No
Delegate: No
User: NT AUTHORITY\SYSTEM
Listen: Yes
Delegate: Yes
SDDL: D:(A;;GA;;;S-1-5-80-3435701886-799518250-3791383489-3228296122
-2938884314)(A;;GR;;;BA)(A;;GA;;;SY)

Reserved URL :
http://+:80/Temporary_Listen_Addresses/
User: \Everyone
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;WD)

Reserved URL :
http://127.0.0.1:47873/help/
User: \Everyone
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;WD)

Reserved URL :
http://+:47001/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147
-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-299656351
7)

Reserved URL :
http://+:5985/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147
-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-299656351
7)

Reserved URL :
https://+:5986/wsman/
User: NT SERVICE\WinRM
Listen: Yes
Delegate: No
User: NT SERVICE\Wecsvc
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147
-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-299656351




Received the below error message when i tried to check the winrm configuration 


C:\Users\username>winrm get winrm/config -r:localhost
WSManFault
    Message = The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management servi
ost commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".

Error number:  -2144108526 0x80338012
The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on
IS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".





"iplisten" list contained only 10.0.0.29   . In order to start winrm service , loopback ip address 127.0.0.1 should be added to "iplisten" list .

C:\Users\username>netsh http show iplisten

IP addresses present in the IP listen list:
-------------------------------------------

    10.0.0.29

C:\Users\username>hostname
xxxxxxxxxxxxxxxx


Resolution :

Based on the event log and query result  , i went ahead and added loop back ip address in "listening" list and started the service


IP address successfully added
C:\Users\username>netsh http show iplisten
IP addresses present in the IP listen list:
-------------------------------------------

    10.0.0.29
    127.0.0.1


C:\Users\username>net start winrm
The Windows Remote Management (WS-Management) service is starting.
The Windows Remote Management (WS-Management) service was started successfully.













1 comment:

  1. Genius! Saved me a colossal headache for cluster upgrade to server 2016. VMM refused to communicate with the first host being upgraded all because of this one command. Some reason the host only listened to itself at 127.0.0.1

    ReplyDelete