to get what port a node is operating at C code code example Example: stop npm running on port 3000 netstat -ano | findstr :3000 taskkill /F /PID PID_of_port