Q: Reachability ports
Does anyone know what the ports are for reachability? The problem is that my server has a public address but is protected by a firewall. I have opened ports so all my services are accessible through the firewall but reachability says no services are available. If i turn off the firewall - without any other changes - the server shows all services available through reachability. Does anyone know what gives with this? And I don't even want to get started on the WHOLE reachability mess!!!
Posted on Oct 26, 2015 4:59 PM
IP Address Range Used by the Push Service
Push providers, iOS devices, and Mac computers are often behind firewalls. To send notifications, you will need to allow inbound and outbound TCP packets over port 2195. To reach the feedback service, you will need to allow inbound and outbound TCP packets over port 2196. Devices and computers connecting to the push service over Wi-Fi will need to allow inbound and outbound TCP packets over port 5223.
The IP address range for the push service is subject to change; the expectation is that providers will connect by hostname rather than IP address. The push service uses a load balancing scheme that yields a different IP address for the same hostname. However, the entire 17.0.0.0/8 address block is assigned to Apple, so you can specify that range in your firewall rules.
The reachability check might use the same feedback service so try those ports first.
Source: https://developer.apple.com/library/ios/technotes/tn2265/_index.html
Posted on Oct 28, 2015 8:08 PM