There are various ways to view for open ports on your local Ubuntu/Linux machine. However, I particularly prefer two methods/command below, since it is simple, and without any third-party application.

Open your command prompt, and type:
netstat -an | grep "LISTEN "

Or, another method:
sudo netstat --tcp --udp --listening --program

It will list all ports that your machine are listening to. The latter method will even shows the program name associated to it.

Enjoy.

Related posts:
  1. Extend Transmission Torrent with Scripts Transmission is one of my favourite bittorrent client. However, it’s...
  2. How to Enhance Your Linux Desktop with Conky I have been using Conky as my desktop monitoring widgets...

twitter rss