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
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?