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:

Leave a Reply

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

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

Facebook photo

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

Connecting to %s

%d bloggers like this: