Created
September 25, 2015 15:17
-
-
Save brenodamata/a035c94f020d92ac21d7 to your computer and use it in GitHub Desktop.
Killing Rails Process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming you're looking to kill whatever is on port 3000, type this in your terminal to find out the PID of the process: | |
$ lsof -wni tcp:3000 | |
Then, use the number in the PID column to kill the process: | |
$ kill -9 PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment