Killing A Running Server
To kill the running local server:
sudo lsof -wni tcp:4000
This command outputs some text, including the process' PID.
sudo kill -9 PID
To kill the running local server:
sudo lsof -wni tcp:4000
This command outputs some text, including the process' PID.
sudo kill -9 PID