taskkill port 8080 code example
Example 1: windows kill port
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Example 2: kill service by port number on windows
taskkill /F /PID PORT_NUMBER
Example 3: how to stop port 8080
C:\Users\RevisitClass>taskkill /F /PID 19788
SUCCESS: The process with PID 19788 has been terminated.