how to kill a port in windows 8080 code example
Example 1: windows kill port
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Example 2: windows stop process running on port 8080
netstat -ano | findstr <Port Number>
taskkill /F /PID <Process Id>