Skip to content

Instantly share code, notes, and snippets.

@haohcraft
Created July 18, 2014 14:28
Show Gist options
  • Save haohcraft/7927578b4fa72828eda0 to your computer and use it in GitHub Desktop.
Save haohcraft/7927578b4fa72828eda0 to your computer and use it in GitHub Desktop.
Find port, and kill it
Find:
lsof -i :<Port Num>
Kill:
kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment