Share the post "How To Kill A Process Using A Specific Port In Windows"
First things first. You need to know the process id in order for the command taskkill to work.
To start with, run this command (include double quotes):
|
1 |
netstat -a -o -n |find "PORT_NUMBER" |
Once you see the results, get the PID (which is the value of the last column) and run this command:
|
1 |
taskkill /F /PID PID_NUMBER |
That’s it!