windows stop process running on port 8080 code example
Example 1: windows stop process running on port 8080
netstat -ano | findstr
taskkill /F /PID
Example 2: kill service by port number on windows
taskkill /F /PID PORT_NUMBER
netstat -ano | findstr
taskkill /F /PID
taskkill /F /PID PORT_NUMBER