问题
What is the apple server's/host name for push notification testing of iPhone in production mode?
回答1:
For production:
gateway.push.apple.com, port 2195
For development:
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.
Source: Apple
来源:https://stackoverflow.com/questions/19784043/server-name-of-apple-for-push-notification-testing-in-production