Errno::EADDRINUSE: Address already in use - bind(2) code example
Example 1: EADDRINUSE: address already in use
sudo lsof -i :<PORT>
kill -9 <PID>
Example 2: EADDRINUSE: address already in use :::5000
kill -9 {PID}
sudo lsof -i :<PORT>
kill -9 <PID>
kill -9 {PID}