kill $(lsof -i :3000 -t)
The meaning of the above command is to find the process id of the process which is running in port
number 3000 and send to it the KILL signal.
A handy little command, which has not technical importance, but nice to know.
—
Issued in the interest of new and novice programmers.. 🙂
-]]>
1 thought on “JTK How to kill a rails server, who is working as a deamon?”
Comments are closed.
Thank you for this.