Tuesday, December 21, 2021

How to kill a process that his waiting or Listening in a port.

> netstat -o -n -a | findstr 0.0:8080

 TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       6476

> taskkill /F /PID 6476

Link:
http://stackoverflow.com/questions/6204003/kill-a-process-by-looking-up-the-port-being-used-by-it-from-a-bat

No comments:

Post a Comment