netstat -ano | find ":5000" => TCP 0.0.0.0:5000 0.0.0.0:0 LISTENING 4032 TCP [::]:5000 [::]:0 LISTENING 4032 TASKKILL /F /PID 4032