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