process already in use javascript code example
Example 1: EADDRINUSE: address already in use :::5000
sudo lsof -i :3000
Example 2: stop npm running on port 3000
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port
sudo lsof -i :3000
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port