Find out what process is using a specific port

Sometimes you need to find out which process is using a specifc port. It could be a server hammering your firewall or for some other reason. To find out the process, follow these steps.

Log on to the server/client.
1. Start cmd.exe
2. netstat -ano -p tcp (-p tcp, for protocol)

3. The red ring to the left is the port you probobly see in the  the firewall log. To the right is the PID.

4. Now, start Task Manager.

Above you see the PID you got from the netstat command. The port using PID 1200 in this case is svchost.exe.

If you don’t see the PID column, go to View – Select Columns.


This entry was posted in Windows and tagged , , , . Bookmark the permalink.