Created
November 26, 2021 15:01
-
-
Save omarjcero/71da1defee0d863f9c75f282a2858f76 to your computer and use it in GitHub Desktop.
Linux command to find what running PID is using an specific 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
$ netstat -nlp | grep :12159 | |
(Not all processes could be identified, non-owned process info | |
will not be shown, you would have to be root to see it all.) | |
tcp 9 0 0.0.0.0:12159 0.0.0.0:* LISTEN 73809/python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment