Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Port 80 is being used by SYSTEM (PID 4), what is that?

I am trying to use port 80 for my application server, but when I perform netstat -aon I get:

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4

When I look up the process in task manager, it shows PID 4 is SYSTEM, that's it. No extension... nothing. Just "SYSTEM". What's going on here?

I'm afraid to end this process, what do I do?

like image 510
GiH Avatar asked Sep 15 '09 23:09

GiH


People also ask

How do I stop PID 4 from using Port 80?

Double click Services and Applications. Then double-click Services. Right click on "World Wide Web Publishing Service". Select Stop.

What is PID 4 system?

PID 4 is the Process ID for the Windows SYSTEM process. It's a lot like PID 1 on Unix systems, in fact. A lot of services run under PID 4.

What is using Port 80 on my computer?

Port 80 is the port number assigned to commonly used internet communication protocol, Hypertext Transfer Protocol (HTTP). It is the default network port used to send and receive unencrypted web pages.

How do I find out what application is using Port 80?

You can use the “netstat” command from command prompt to determine which program is using any port.


1 Answers

There are many services, which can listen port 80 on windows.

Luckily you can detect and stop them all running simple console command:

NET stop HTTP 

When you'll start it, you will get list first: enter image description here

To avoid this problem in future go to Local Services and disable listed services.

N.B. - Some services will restart themselves immediately, just run 'NET stop HTTP' few times.

like image 169
Anton Avatar answered Oct 14 '22 01:10

Anton