English 中文(简体)
Port Number for Incoming Apple Push Notifications
原标题:

What network services, port numbers, outgoing incoming or both, need to be open on a network for an ipod touch to receive Apple Push Notifications?

I know the outgoing port number to set when sending the apns. The only thing is, in my school practically every outgoing (and incoming) port is blocked and as a result APNs do not work. I am sure that if I talked to my network administrator and told him which port to unblock, he would do so. So my question is: What network services, port numbers, outgoing incoming or both, need to be open on a network for an ipod touch to receive Apple Push Notifications?

最佳回答

According to Apple s docs: port 5223.

If the device is connected over Wi-Fi and is still unable to receive notifications, the Wi-Fi network you re using might have a firewall that is blocking port 5223. This port must be open to TCP traffic for notifications to work.

问题回答

For APNS to work from within your network you must be able to communicate to 17.0.0.0/8:5223. The TCP connection is made from iOS device out to *.push.apple.com. There is no inbound TCP connections required.





相关问题
How to push data over the Internet?

I want to push data to a client application. The client app can be thick or a thin. The push has to happen over the Internet. How can this be done? EDIT: Is there a way wherein the client app opens a ...

Multiple iPhone APN messages, single connection

I have a strange issue. I m trying to get Apple Push Notifications working with Python. I can connect and send individual messages without a problem. The issues pop up when I start sending more than ...

How to send a push notification using Erlang?

I m trying to send a push notification to APNs using Erlang. This is the code I came up with so far: -module(apnstest2). -export([connect/0]). connect() -> application:start(ssl), ssl:...

Feedback service for Push notification

I wrote the below script to read the feedback data. But, for some reasons, I am not receiving any data from the server. Can you kindly let me know whats wrong with the script. Also, if you have any ...

热门标签