how to clear port with npm code example Example: stop npm running on port 3000 netstat -ano | findstr :3000 taskkill /F /PID PID_of_port