how to kill Error: listen EADDRINUSE: address already in use :::5000 code example Example: EADDRINUSE: address already in use sudo lsof -i :<PORT> kill -9 <PID>