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