knznsmn

Killing A Running Server

webdevunix

To kill the running server:

sudo lsof -wni tcp:4000

This command outputs some text, including the process' PID.

sudo kill -9 PID