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 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                 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
  • 1
    For me it was Skype (!) as suggested in this [other question.][1] [1]: serverfault.com/questions/478150/…
    – Tom
    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. Jun 26, 2015 at 18:30

1 Answer 1


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

  • 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" ?
    – anjanb
    Jun 29, 2016 at 11:05
  • I didn't. I just stopped the Reporting service and it's OK :) May 1, 2019 at 22:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .