Linux – Find which ports are open

While not exactly showing what is open on which port, you can see which ports are occupied with a:

netstat -nap

The output is filtered based on which user is looking at the information.  Perform the command as the super user to see the ports occupied by all processes.

Original source:
http://www.linux-noob.com/forums/index.php?/topic/1262-check-what-ports-are-open/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s