Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

Thanks

share|improve this question
add comment

5 Answers

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
add comment

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
add comment

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
add comment

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

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.