Issue : PID:4 using Port 80

Solutions: 

Just follow these steps to diagnose and resolve your issue:

Get pid that is listening port 80: netstat -aon | findstr :80


Open task manager, go to processes tab and check “PID” in Menu/View/Select Columns…, then look for the process using the PID found in last step.


If it is a normal application or IIS, disable it or uninstall. Some programs (such as Skype) have the option to disable its use of port 80.


If it is a System Process—PID 4—you need to disable the HTTP.sys driver which is started on demand by another service, such as Windows Remote Management or Print Spooler on Windows 7 or 2008.


There is two ways to disable it but the first one is safer:

1. Go to device manager, select “show hidden devices” from menu/view, go to “Non-Plug and Play Driver”/HTTP, double click it to disable it (or set it to manual, some services depended on it).

Reboot and use netstat -nao | find ":80" to check if 80 is still used.

2.Launch RegEdit.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP

Change the value of "start" to 4, which means disabled.

Reboot your computer.