Skip to content

Instantly share code, notes, and snippets.

@poanchen
Created February 23, 2018 22:14
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 poanchen/f0c610a30a9ca8e4d19b27cc0293fa36 to your computer and use it in GitHub Desktop.
Save poanchen/f0c610a30a9ca8e4d19b27cc0293fa36 to your computer and use it in GitHub Desktop.
Killing the process id that occupy the port you were using
lsof -w -n -i tcp:port_number
kill -9 pid_number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment