Created
August 31, 2015 04:59
-
-
Save philfreo/678ea6a9336037bb492f to your computer and use it in GitHub Desktop.
See what local processes are listening on any IP address
This file contains hidden or 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 -na | grep LISTEN | grep -v 127.0.0.1 | grep -v ::1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're only interested in listening TCP sockets (and are on Linux), you can do
netstat -ltn | grep -v ....