Skip to content

Instantly share code, notes, and snippets.

@uilian
Created March 26, 2019 17:46
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 uilian/b575b246d2bc5450e74ee71c0a9c8939 to your computer and use it in GitHub Desktop.
Save uilian/b575b246d2bc5450e74ee71c0a9c8939 to your computer and use it in GitHub Desktop.
Find process occupying port
## this
netstat -vanp tcp|grep PORT
## or this, if -p is not supported
lsof -i tcp:PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment