RSS

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

20 Jul

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

 
1 Comment

Posted by on July 20, 2004 in General, Networking, Windows XP

 

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

  1. Farooq

    June 15, 2005 at 10:37 am

    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?

     

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.