how to stop the port using in window 10 code example
Example 1: kill port
lsof -i:8080
Example 2: kill process running on port in windows
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Example 3: kill port
kill -9 $(lsof -t -i:8080)
lsof -i:8080
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
kill -9 $(lsof -t -i:8080)