I have a CherryPy script that I frequently run to start a server. Today I was having to start and stop it a few times to fix some bugs in a config file, and I guess the socket
Much more easier to do it by: Check the PID(:5000 is the host since I've been running on 127.0.0.1:5000):$ lsof -i :5000Then kill it:$ sudo kill -9 PID
$ lsof -i :5000
$ sudo kill -9 PID