you can verify the port with
netstat -nap | grep :
1.you can open TCp port with
iptables -A INPUT -p tcp –dport -j ACCEPT
2. You can open UDP port with
iptables -A INPUT -p udp –sport -j ACCEPT
#vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A ...
