Skip to content

Instantly share code, notes, and snippets.

@brenodamata
Created September 25, 2015 15:17
Show Gist options
  • Save brenodamata/a035c94f020d92ac21d7 to your computer and use it in GitHub Desktop.
Save brenodamata/a035c94f020d92ac21d7 to your computer and use it in GitHub Desktop.
Killing Rails Process
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