An application is listening on TCP port 80, but the process listed when I run
TcpView from the SysInternals tools is
System. I want to know which application is really listening on this port.
I have read this question, and tried running netstat, but it didn't help finding the actual application which uses port 80. The PID it gave me was 4, which corresponds to
System. If I try to open a browser on
localhost:80, it only gives me a basic 404 page ("HTTP Error 404. The requested resource is not found.").
I tried using a simple HTTP request via telnet, and I got the following:
HTTP/1.1 400 Bad Request Content-Type: text/html; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 Date: Thu, 28 Jul 2016 19:22:42 GMT Connection: close Content-Length: 334 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid Hostname</h2> <hr><p>HTTP Error 400. The request hostname is invalid.</p> </BODY></HTML>
Is there another way to find out which application is blocking my port 80 through the
System process? I'm using Windows 7.
Here's an extract of the output when I run
netstat -anbo | findstr :80:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:8000 0.0.0.0:0 LISTENING 3900 TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 2876
And it's impossible to start our own HTTP server because port 80 is already in use.