Can't connect to APNS
Does anyone know if it's possible to connect to APN via IP-adressed instead of via URL? Or do they use round robin?
In tha开发者_运维技巧t case, what is the adresses for the push and feedback services (prod. and sandbox).
Thankful for advice.
I'm not sure about round-robin IP addresses, but why do you want to use them? By resolving them with DNS you are independent from changing IP adresses:
- Sandbox:
gateway.sandbox.push.apple.com
- Production
gateway.push.apple.com
Yes, you could use ip addresses. but we should avoid the risk that apple change the server address. domain name is fixed. so please use the domain name as possible as you can.
精彩评论