Tuesday, March 17, 2015

Kill a port in windows



Many a times we are struck with killing a port in windows unlike we do in Unix. Below is the command you can use to netstat the PID linked to that port and to kill it



> netstat -a -o -n

Above command will list the list of ports and related PID's

> taskkill /F /PID 20760

taskkill will help you kill the port and restart the port again.

No comments:

Post a Comment