windows kill port 8080 process code example
Example 1: windows kill port
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Example 2: how to listen to the process running in port 8080 and kill it
Steps to kill process running on port 8080 in Windows cmd/terminal,
#1 netstat -ano | findstr < Port Number >
#2 taskkill /F /PID < Process Id >