I tried this solution:
iptables -I OUTPUT -p tcp --dport 2195 -j ACCEPT
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.
iptables -A INPUT -p tcp --dport 2195 -j ACCEPT service iptables restart
This may help too.