MobileFirst Platform - 发送推送通知的防火墙规则
MobileFirst Platform - firewall rules to send push notifications
根据文档,这些是要在防火墙上打开以从服务器发送通知的端口,但不清楚是允许防火墙中的入站和出站连接还是仅允许出站连接:
For push notification to be sent, the following servers must be accessible from a MobileFirst Server instance:
iOS
Sandbox servers:
gateway.sandbox.push.apple.com:2195
feedback.sandbox.push.apple.com:2196
Production servers:
gateway.push.apple.com:2195
Feedback.push.apple.com:2196
1-courier.push.apple.com 5223
Android
The ports to open are: 443, 5228, 5229, and 5230. GCM typically uses only 5228, but it sometimes uses 5229 and 5230.
GCM does not provide specific IP addresses, so you must allow your firewall to accept outgoing connections to all IP addresses that are contained in the IP blocks listed in Google ASN of 15169.
Windows Phone 8
No specific port needs to be open in your server configuration.
MPNS uses regular http or https requests.
传入和传出...
作为适用于所有供应商的示例,请参阅 Apple 的支持文档:https://support.apple.com/en-ap/HT203609
如果您的网络中有 iOS 台设备,那么要让这些设备收到通知,您必须为传入连接提供以下内容:
For APNs traffic to get past your firewall, you'll need to open these
ports:
- TCP port 5223 (used by devices to communicate to the APNs
servers)
- TCP port 2195 (used to send notifications to the APNs)
- TCP port 2196 (used by the APNs feedback service)
- TCP Port 443 (used as a fallback on Wi-fi only, when devices are unable to communicate to APNs on port 5223)
The APNs servers use load balancing. Your devices will
not always connect to the same public IP address for notifications.
The entire 17.0.0.0/8 address block is assigned to Apple, so it's best
to allow this range in your firewall settings.
并且由于 Apple 的服务器具有特定的范围和端口,因此您也需要为传出连接打开它们...
根据文档,这些是要在防火墙上打开以从服务器发送通知的端口,但不清楚是允许防火墙中的入站和出站连接还是仅允许出站连接:
For push notification to be sent, the following servers must be accessible from a MobileFirst Server instance:
iOS
Sandbox servers: gateway.sandbox.push.apple.com:2195 feedback.sandbox.push.apple.com:2196 Production servers: gateway.push.apple.com:2195 Feedback.push.apple.com:2196 1-courier.push.apple.com 5223
Android The ports to open are: 443, 5228, 5229, and 5230. GCM typically uses only 5228, but it sometimes uses 5229 and 5230. GCM does not provide specific IP addresses, so you must allow your firewall to accept outgoing connections to all IP addresses that are contained in the IP blocks listed in Google ASN of 15169.
Windows Phone 8 No specific port needs to be open in your server configuration. MPNS uses regular http or https requests.
传入和传出...
作为适用于所有供应商的示例,请参阅 Apple 的支持文档:https://support.apple.com/en-ap/HT203609
如果您的网络中有 iOS 台设备,那么要让这些设备收到通知,您必须为传入连接提供以下内容:
For APNs traffic to get past your firewall, you'll need to open these ports:
- TCP port 5223 (used by devices to communicate to the APNs servers)
- TCP port 2195 (used to send notifications to the APNs)
- TCP port 2196 (used by the APNs feedback service)
- TCP Port 443 (used as a fallback on Wi-fi only, when devices are unable to communicate to APNs on port 5223)
The APNs servers use load balancing. Your devices will not always connect to the same public IP address for notifications. The entire 17.0.0.0/8 address block is assigned to Apple, so it's best to allow this range in your firewall settings.
并且由于 Apple 的服务器具有特定的范围和端口,因此您也需要为传出连接打开它们...