Skip to content

Instantly share code, notes, and snippets.

@camsaul
Created January 25, 2016 21:57
Show Gist options
  • Save camsaul/b6561728075cfd0d2e74 to your computer and use it in GitHub Desktop.
Save camsaul/b6561728075cfd0d2e74 to your computer and use it in GitHub Desktop.
Figure out which process is listening to a given TCP port
lsof -i tcp:8090 | grep LISTEN
@camsaul
Copy link
Author

camsaul commented Mar 29, 2017

kill it with

kill -s KILL <pid>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment