2

Is there any way to get nginx running on port 80 on a windows 2003 server? It seems that the http.sys service is running on port 80 which is the new "preferred way" for a web server to run on windows however nginx and apache don't yet use this. Is there an easy way to stop this?

When I try and bind to port80 i get the following:

nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

netstat shows

Proto Local Address Foreign Address State PID TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 

and that pid is

C:\nginx-1.2.5>tasklist /svc /FI "PID eq 4" Image Name PID Services ========================= ======== ============================================ System 4 N/A 
2
  • 1
    For me it was Skype (!) as suggested in this [other question.][1] [1]: serverfault.com/questions/478150/… Commented Sep 12, 2014 at 12:44
  • Windows Web Server (IIS) may also cause this issue so try running: 'net stop WAS' to stop the service. Sometimes you may also need to run: 'net start W3SVC'. Note: Run cmd as admin. Commented Jun 26, 2015 at 18:30

1 Answer 1

5

Turns out it was not http.sys and was in fact Sql Server Reporting Services... Disabled them and it was good to go.

2
  • 1
    I have the exact same issue on my laptop. How did you figure out that SYSTEM(pid 4) was in fact "sql server reporting services" ? Commented Jun 29, 2016 at 11:05
  • I didn't. I just stopped the Reporting service and it's OK :) Commented May 1, 2019 at 22:46

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.