Why My HTTP Service Cannot Be Stopped.

 

Symptom:

In order to stop listening port 80 of IIS on windows server 2008 on which SQL Server 2008 is installed, we change the port of IIS website to non-80. Unfortunately, we find that the port 80 is still listening by PID 4. When we try to stop HTTP service using command: net stop http, we receive error information: “The HTTP Service could not be stopped” as below screenshot shows:

 RS1.JPG

Cause:

When Reporting Service is installed on the windows server 2008, it will register port 80 for its web service URL and report manager URL by default. We can find this as below screenshot shows using below command:
netsh http show urlacl

RS2.JPG

And only if Reporting service is running, port 80 will keep listening.

Solution:

Change web service URL and report manager URL of Reporting Service from port 80 to non-80, and restart Reporting Service. Then we can stop HTTP service successfully.

References:

Reporting Services Web Servicehttps://technet.microsoft.com/en-us/library/aa274396(SQL.80).aspx

Web Service URL (Reporting Services Configuration)

https://technet.microsoft.com/en-us/library/ms188133.aspx

Regards,

Winston He