Skip to content

Instantly share code, notes, and snippets.

@eaglerockdude
Created February 25, 2017 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eaglerockdude/583af793fe2ab8799fcfaa691f8e58ce to your computer and use it in GitHub Desktop.
Save eaglerockdude/583af793fe2ab8799fcfaa691f8e58ce to your computer and use it in GitHub Desktop.
Port 3000 use
lsof -wni tcp:3000
then kill it.
@eaglerockdude
Copy link
Author

Sometimes when working in rails you get "port in use"...using the LSOF command you can find the PID of the job, and then kill it. It happens rarely but it does happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment