close port 8080 cmd code example
Example 1: kill service by port number on windows
taskkill /F /PID PORT_NUMBER
Example 2: how to stop port 8080
taskkill /F /PID <Process Id>
taskkill /F /PID PORT_NUMBER
taskkill /F /PID <Process Id>