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 comment