How can I disable firewall on ubuntu, or how can I check which ports are listening, and how can I add some new ports to be listened to?
to see if the firewall is running
if you see anything else in the output except default policies that read ACCEPT then you have a firewall on
Check which ports are listening:
Ubuntu 9.04 doesn't have any firewall by default, did you enable any?