Skip to content

Instantly share code, notes, and snippets.

@weeksdev
Created July 11, 2018 18:32
Show Gist options
  • Save weeksdev/7ddddc40c9a831a6a3b301d4b5658a60 to your computer and use it in GitHub Desktop.
Save weeksdev/7ddddc40c9a831a6a3b301d4b5658a60 to your computer and use it in GitHub Desktop.
Kill a process on a port
lsof -i :{PORT_NUMBER}
kill -TERM {PID}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment