Skip to content

Instantly share code, notes, and snippets.

@ezy
Last active January 24, 2017 21:08
Show Gist options
  • Save ezy/dc16fe56f11f0674cbb2662d655f2035 to your computer and use it in GitHub Desktop.
Save ezy/dc16fe56f11f0674cbb2662d655f2035 to your computer and use it in GitHub Desktop.
Find and kill process running on port <PID> on OSX
// See which processes are running
lsof -i tcp:<Port>
// Kill process ID
kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment