Thursday, May 29, 2014

Kill a Process running on a specific port in windows OS (i tested in windows 8.1)

1 . Find which process is running on the specific port with the below command

netstat -ano

2 . Then take the PID (which in my case is in the last column) , then run the following command

taskkill  /F /PID <<pid>>

once you run the above command and if the process killed successfully then you will see the below message

SUCCESS: The process with PID <<pid>> has been terminated.


* <<>pid>>  represents the pid which is using the specific port number.

No comments:

Post a Comment