Friday, December 5, 2014

How to know on which port a process is running in Windows

Windows is providing an GUI (called Resource Monitor) to know the information about running processes.

1. Click on Windows icon and open "Run"

2, Type "resmon.exe" and press Enter.

You should see an application like below:




3. Now click on "Network" tab and click on last section available "Listening Ports".

4. This shows all the ports list. You can sort them in ascending/descending order and check for required port.



Kill the process with Process ID:

From above UI, we can get the process ID (PID) of a process running.
Now with that PID, use below command to kill the process.

taskkill /PID <PID> /F

If it says, you require admin priviliges for this, then open Command prompt as administrator.

No comments:

Post a Comment