Skip to content

Instantly share code, notes, and snippets.

@mlsaito
Created June 16, 2018 13:06
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 mlsaito/50d8ab44f901168bd989334a12ddc629 to your computer and use it in GitHub Desktop.
Save mlsaito/50d8ab44f901168bd989334a12ddc629 to your computer and use it in GitHub Desktop.
Find and kill processes listening on a port

Find processes listening on a port:

$ lsof -i :3000

Kill process:

$ kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment