windows 10 check port 3000 code example Example: windows kill port netstat -ano | findstr :3001 taskkill /PID <yourid> /F