kill process on port windows

Shell
netstat -ano | findstr "PORT_NUMBER"

taskkill /PID PORT_NUMBER /f:8080.
C:\Users\psmith>netstat -ano|findstr "PID :8080"
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 18264

taskkill /pid 18264 /fkill $(lsof -t -i:8080)
//kill port 8080netstat -ano | findstr :PORT_NUMBER

taskkill /PID PORT_NUMBER /Ftaskkill /F /PID PORT_NUMBERnetstat -ano | findstr :yourPortNumber

taskkill /PID typeyourPIDhere /F
Source

Also in Shell: