Answered by : milan-thummar
netstat -ano | findstr "PORT_NUMBER"
taskkill /PID PORT_NUMBER /f
Source : | Last Update : Tue, 16 Jun 20
Answered by : eager-eland-4nfdja26xl8y
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Source : | Last Update : Fri, 19 Jun 20
Answered by : anurag-srivastava
//Open command prompt and run the following commands
C:\Users\username>netstat -o -n -a | findstr 0.0:3000 TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 3116
C:\Users\username>taskkill /F /PID 3116
//here 3116 is the process ID
Source : https://stackoverflow.com/questions/6204003/kill-a-process-by-looking-up-the-port-being-used-by-it-from-a-bat | Last Update : Mon, 27 Sep 21
Answered by : ill-ibis-3v50vx6suo7h
netstat -ano | findstr : <port>
taskkill /PID <PID> /F
Source : https://stackoverflow.com/questions/39632667/how-do-i-kill-the-process-currently-using-a-port-on-localhost-in-windows | Last Update : Thu, 09 Sep 21
Answered by : gifted-grasshopper-73frxhgobmff
netstat -ano | findstr :<PORT>
taskkill /PID <PID> /F
Source : https://stackoverflow.com/a/39633428/700183 | Last Update : Thu, 21 Jan 21
Answered by : cherry-berry
netstat -ano | findstr :<PORT>
taskkill //PID <PID> //F
OR
taskkill /PID <PID> /F
Source : | Last Update : Mon, 06 Sep 21
Answered by : shikhor-kumer-roy
netstat -ano | findstr :<yourPortNumber>
taskkill /PID <typeyourPIDhere> /F
Source : https://stackoverflow.com/questions/55311842/windows-kill-process-by-port-number | Last Update : Tue, 17 May 22
Answered by : testy-turkey-6erbuytfbces
Check this gist
https://gist.github.com/abhagsain/620120eb99cc5944d478a23757f9e00f
Source : | Last Update : Fri, 14 May 21
Answered by : you
netstat -ano | findstr :<port_number>
Source : | Last Update : Tue, 19 Sep 23
Answered by : ill-ibis-39p1k39v9812
#for windows
#replace <PID> with your process id
taskkill /PID <PID> /F
Source : | Last Update : Wed, 01 Jun 22