ElizaS ElizaS - 2 years ago 587
Linux Question

How to open port 2195 in iptables CentOS 6 for activating the APNS

I tried this solution:

iptables -I OUTPUT -p tcp --dport 2195 -j ACCEPT
/etc/init.d/iptables stop
/etc/init.d/iptables start

but still can't access the port.

If there are more ports that i have to open for APNS let me know.

Will be happy to get help.

Thank you!

Answer Source

how about:

iptables -A INPUT -p tcp --dport 2195 -j ACCEPT
service iptables restart

This may help too.

-HTH

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download