iptables configuration not working

view full story

http://serverfault.com – I have a VPS for Apples push notification service I am trying to open a port 2195. I am currently doing this vi /etc/sysconfig/iptables then I go to insert mode of vi and enter these two lines -A -I INPUT -p tcp --dport 2195 -j ACCEPT -A -I OUTPUT -p tcp --dport 2195 -j ACCEPT then I save the file and quit vi. Then I restart iptables service by service iptables restart. But after that when I try to telnet by doing telnet localhost 2195 I get this Trying telnet: connect to address Connection refused Any pointers....? Server is red hat on hostgator (HowTos)