Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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