How can you find out which process is listening on a port on Windows?
+15
A:
C:\> netstat -a -b
(add -n to stop it trying to resolve hostnames, which will make it a lot faster)
Edit: +1 for Dane's recommendation for TCPView. Looks very useful!
Brad Wilson
2008-09-07 06:28:33
I just tried this and it doesn't show any process info.
J c
2008-10-14 14:56:51
"doesn't show any process info" huh? it shows process ids of all listening processes. If you need *name* of process, use Brad's solution
aku
2008-10-15 04:04:43
My bad, didn't see the PID as I was looking for the process name.
J c
2008-10-17 12:01:11
+4
A:
If you'd like to use a GUI tool to do this there's SysInternals TCPView.
Dave Webb
2008-09-07 06:40:26
+1
A:
I agree with Dave Webb - SysInternals tools for sure.
- http://live.sysinternals.com/
- UNC Path \\live.sysinternals.com
MotoWilliams
2008-09-07 06:55:17