I noticed a nice post over at nixCraft the other day.  A simple command to check to see what ports are open and what application has them open.  It is;

sudo lsof -i
sudo netstat -lptu

As always you can read the manual, however I know there is a great article written about lsof, it is entitled, Troubleshooting running systems with lsof.

2 Responses to “Open ports and owner applications in Linux”

  1. Jeff Schroeder Says:

    Thanks for the favorable mention. It is much appreciated :)

  2. chad Says:

    My pleasure, it is a nicely written article. I had not used those options with netstat before and thought that it was very useful. Keep up the good writing.

Leave a Reply