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:
- GrNotify: Your Google Reader Feeds Notification I’m addicted to my rss feeds. I go over the...
- Installing Google Gadgets on Ubuntu 8.10 Google Desktop gadgets are interactive mini-applications that can be placed...
- How To Share Media Between Xbox 360 and Linux I’ve got a little project going on in the past...
- Upgrading to Ubuntu 8.10 The long awaited Ubuntu 8.10 has been released! I’m upgrading...
- Delay Print Screen in Ubuntu in Ubuntu, when there’s menu active or visible, pushing ‘Print...