Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I get a list of active ports and applications using them in a Windows Server 2003 box? Any free utilities?


share|improve this question
up vote 3 down vote accepted

TCPView is pretty handy.

share|improve this answer
Damn - beat me to it. :) Yeah, TCPView does exactly what you're asking for. – MikeyB Apr 7 '10 at 21:57

netstat -o is already on the system.

share|improve this answer
-a is necessary for the listening ports to be listed as well. -o will only list active connections with pid. – Warner Apr 7 '10 at 21:44
+ 1 for netstat. I usually run netstat -a -n -o – joeqwerty Apr 7 '10 at 22:02

nmap -v hostname

Nmap is the most thorough port scanner ever made.

share|improve this answer
He's not asking to scan for open ports. He's wanting to know what ports are being used by what processes on his computer. – 3dinfluence Apr 7 '10 at 21:41

What about SysInternals (now Microsoft) tools like Process Explorer or TCPView?

share|improve this answer

Another useful utility is fport. It's a bit like netstat -o, but it shows the process name and application path in addition to the PID.

share|improve this answer
fport definitely doesn't work with Win7 or Win2K8. I haven't tried it but may do the same for Win2K3. – Cahit Feb 3 '11 at 20:25
I know it works on 2003, but you are correct for Win7 (64-bit, anyway). Thanks for the tip, I wasn't previously aware of this. It's too bad, because it's a handy little tool. – James Sneeringer Feb 7 '11 at 17:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.