stop a process on port in windows code example Example: kill process running on port in windows netstat -ano | findstr :8080 taskkill /PID <yourid> /F