在生产环境中用于推送通知测试的苹果的服务器名称

问题描述:

在生产模式下用于iPhone的推送通知测试的苹果服务器/主机名是什么?

What is the apple server's/host name for push notification testing of iPhone in production mode?

用于生产:

gateway.push.apple.com, port 2195

用于开发:

gateway.sandbox.push.apple.com, port 2195

注意:每个应用程序都会针对生产和开发模式生成不同的通证.请勿将相同的邮件发送给双方.

Note: Every app generates different pushtokens for production and development mode. Don't send the same one to both.

来源: Apple