Archive
Highlighted

Mobile Access Server - Invalid APN

Communicator

Hi Experts,

I setup Mobile Access server version 2.0.1 in Windows and Linux. However, the connection to APNs is invalid for both.
Any idea whether any additional setting/certificate needed to make it work?

0 Karma
Highlighted

Re: Mobile Access Server - Invalid APN

Splunk Employee
Splunk Employee

the connection to APNs is invalid for both

This means the servers in your network cannot reach APNs. To talk to APNs, port 2195 for gateway.push.apple.com should be accessible from your server. To test your network, you can use netcat, telnet or openssl client. For example:

1) Use netcat to test the connection:

nc -zv gateway.push.apple.com 2195

It should report something like "Connection to gateway.push.apple.com port 2195 [tcp/*] succeeded!”

2) Use telnet to test the connection:

telnet gateway.push.apple.com 2195

It should report something like "Trying 17.143.164.13… Connected to gateway.push-apple.com.akadns.net"

It is probably the firewall in your network prevents your servers from talking to APNs gateway and makes the connection invalid. If you can confirm this is a network problem, you can configure your firewall to make the connection back to work.