Skip to content

Instantly share code, notes, and snippets.

@marcusshepp
Created February 26, 2016 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save marcusshepp/4c0b82a4ff95486a8cbf to your computer and use it in GitHub Desktop.
Save marcusshepp/4c0b82a4ff95486a8cbf to your computer and use it in GitHub Desktop.
how to kill a port on mac os x terminal
lsof -i tcp:8000 # or what ever port # you need to search for
kill -9 <PID> # replace <PID> with the process PID you want to kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment