Created
March 26, 2019 17:46
-
-
Save uilian/b575b246d2bc5450e74ee71c0a9c8939 to your computer and use it in GitHub Desktop.
Find process occupying port
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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