Link to home
Start Free TrialLog in
Avatar of jpetter
jpetter

asked on

How to associate open ports with a PID

Hi,

On Windows 2000 server where the '-o' option for netstat is not available, is there a command or tool that will allow me to associate an open port with a process. I'm in the midst of a security review, and need to close all ports that I don't need that are not being used by the OS. So I need to be able to find out what process is using the open port. On wK3, I can use netstat -ao, but that isn't valid on 2K.

Any help will be greatly appreciated.

Thanks,
Jeff
ASKER CERTIFIED SOLUTION
Avatar of aissim
aissim
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jpetter
jpetter

ASKER

Thanks aissim....I'll give it a try and see what I get.

Thanks,
Jeff
p.s. You'll definitely want to port the info into a text file as the results are a bit more extensive than netstat.

good luck with the security review!
Avatar of jpetter

ASKER

aissim,

Thanks, that gave me what I was looking for.

Jeff