react on port 3000 and nodejs on port 5000 code example Example: stop npm running on port 3000 netstat -ano | findstr :3000 taskkill /F /PID PID_of_port