Is server gateway.sandbox.push.apple.com:2195
the correct development APN server?
I found this address in back-end sources and wondering hence Apple documentation contains another address: api.development.push.apple.com:443
.
Is server gateway.sandbox.push.apple.com:2195
the correct development APN server?
I found this address in back-end sources and wondering hence Apple documentation contains another address: api.development.push.apple.com:443
.
TCP port 443: For a fallback on Wi-Fi only, when devices can't reach APNs on port 5223
TCP port 2195: For sending notifications to APNs
Check below link for details. https://support.apple.com/en-in/HT203609
From the useful CLI utility source code of Houston by Mattt Thompson:
APPLE_PRODUCTION_GATEWAY_URI = "apn://gateway.push.apple.com:2195"
APPLE_PRODUCTION_FEEDBACK_URI = "apn://feedback.push.apple.com:2196"
APPLE_DEVELOPMENT_GATEWAY_URI = "apn://gateway.sandbox.push.apple.com:2195"
APPLE_DEVELOPMENT_FEEDBACK_URI = "apn://feedback.sandbox.push.apple.com:2196"
Further references can be found here. Hope this helps.