trerminate port 8080 code example
Example 1: kill process running on port in windows
netstat -ano | findstr :8080
taskkill /PID /F
Example 2: kill the process running on 8080
C:\Users\RevisitClass>taskkill /F /PID 19788
SUCCESS: The process with PID 19788 has been terminated.