netstat -o -n -a | findstr 0.0:80

gives me a PID of 4 but in my vista task manager I can't see any process with such PID.

Why?

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

It's possible the process is running as a different user, click show processes from all users:

enter image description here

You can also use netstat -b which will show you an executable name as well as a PID:

Proto  Local Address          Foreign Address        State           PID
TCP    john:1038              localhost:1039         ESTABLISHED     1400
[firefox.exe]
link|improve this answer
feedback

Make sure you have clicked "Show processes from all users" in the bottom left hand corner.

Failing this, take a look at Microsoft / Sysinternals Process Explorer which is basically an enhanced free task manager.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown