Jul 20, 2004 - General, Networking, Windows XP    1 Comment

How do I determine which process has TCP ports or UDP ports open?

To display which process ID is using a certain TCP port or UDP port, you can start by using the Netstat command with the n (display in numeric form), o (display the owning process ID–this works on Windows XP only), and a (display all connections and listening ports) switches as follows:

netstat -noa

Related Posts Plugin for WordPress, Blogger...

1 Comment

  • Hi Ali
    This is a gr8 command. I want to disable all ports except those that are required on the system on my netowrk. What the best way to do this?

Got anything to say? Go ahead and leave a comment!