问题
The IBM MobileFirst Knowledge Center states that the following servers and port numbers have to be accessible for APNS push notifications to work:
gateway.sandbox.push.apple.com:2195
feedback.sandbox.push.apple.com:2196
gateway.push.apple.com:2195
feedback.push.apple.com:2196
However, I have seen references in Apple documentation to the endpoint 1-courier.push.apple.com:5223
(for example, Apple's troubleshooting documentation here).
Is this server and port required to be accessible by the MFP server (through a firewall) also? What is it used for?
回答1:
I am not clear on what is it for, but unlike the Knowledge Center - the tutorial does mention that the MobileFirst Server instance requires that address to be available for it: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/push-notifications-overview/push-notifications-in-hybrid-applications/#setupiOS
Have you tried with and without it and observed any differences?
回答2:
5223 is required only if the devices are connected over WiFi.
"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"
来源:https://stackoverflow.com/questions/33284509/is-1-courier-push-apple-com-needed-for-ibm-mobilefirst-apns-notifications-what