Open ports and owner applications in Linux
| June 1st, 2008I 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.
Thanks for the favorable mention. It is much appreciated
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.