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?
the IP adress is 0.0.0.0, state = LISTENING: means that port 80 is listening to all interfaces (not used)
"means that port 80 is listening to all interfaces (not used)" not exactly - the service "World Wide Web Publishing Service" was listening at this port. Once you manually stop it, you might free that port (at least in windows 7)
Just to clarify, World Wide Web Publishing Service is W3SVC. Stop this service solves my problem.
Stopping and disabling the W3SVC service works for me too:
sc stop w3svc
thensc config w3svc start= disabled
This link ( devside.net/wamp-server/… ) helped me narrow down the culprits and finally find what I was looking for. Annoyingly this stackoverflow post didn't popup in my searches until I had solved it.
LISTENING means used. It means there's a process using that specific port, waiting for incoming calls. I was trying to start the Default Web Site and IIS told me there's another process using port 80. The most voted answer - the one about "Web Deployment Agent Service" (MsDepSvc) - is a better explanation for what's happening.