stichl.at tech at work

8Nov/121

Port 80 in use on Windows Server 2008 R2

Today I tried to install nginx on Windows Server 2008 R2 being currently used as DC and print server.

nginx told me that there is another process which is using port 80 - strange...

If you try netstat -abn | more you will not get a process name.

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
Can not obtain ownership information

A netstat -aon | find "TCP" | find ":80" showed me Process ID 4 which means SYSTEM. wtf?

Next try:

Device Manager --> Menu View --> Show hidden Devices

Open Non-Plug and Play Drivers, select HTTP and open the properties.
If you try to stop the driver you will be shown a list of other services depending on HTTP which would also be stopped - not good...

After some googling I found the solution:

netsh http add iplisten ipaddress=::

This works instantly and I did not recognize any side effects yet.

Filed under: Windows Leave comment
Comments (1) Trackbacks (0)
  1. Had an issue installing vcenter server on 2008 r2 but had not enabled IIS or other web server apps. This allowed me to proceed forward. No idea of any long term ramifications, but I appreciate your post either way!


Leave a comment

No trackbacks yet.