How to kill server when seeing EADDRINUSE: address already in use code example
Example 1: EADDRINUSE: address already in use :::5000
sudo lsof -i :3000
Example 2: EADDRINUSE: address already in use :::5000
kill -9 {PID}
sudo lsof -i :3000
kill -9 {PID}