I went through number of guides and StackOverflow topics, but still can not find an answer to my problem.
So we moved to a new server and our push notifications stopped working. (I was not managing the old server). As APNS ans me have not been acquainted yet, it kinda became a problem.
As I understand the first thing we need is an open 2195 port, so I can telnet gateway.push.apple.com 2195
. But that fails
Trying 17.172.238.228...
telnet: connect to address 17.172.238.228: Connection timed out
even tho the hosting company assured me that the port is open INBOUND and OUTBOUND.
iptables
doesn't seem to have any restrictions on that port either.
So at this point I dont know how to make this work. My guess was that it needs a Certificate to telnet to APNS, which looks rather silly.
Was wondering if someone could point me to the right direction ? Much appreciated.
nslookup gateway.push.apple.com
Server: 48.22.161.128
Address: 48.22.161.128#56
Non-authoritative answer:
gateway.push.apple.com canonical name = gateway.push-apple.com.akadns.net.
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.219
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.221
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.222
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.223
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.224
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.227
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.215
Name: gateway.push-apple.com.akadns.net
Address: 17.172.238.216