Skip to content

Instantly share code, notes, and snippets.

@ederchrono
Created November 29, 2018 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ederchrono/18fe7cbcdd1cbd844d72b12bb57f5207 to your computer and use it in GitHub Desktop.
Save ederchrono/18fe7cbcdd1cbd844d72b12bb57f5207 to your computer and use it in GitHub Desktop.
Look for the process that is using a port and kill it
# look for process id
lsof -t -i:`port`
# kill process
kill -9 `process-id`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment