Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a support to be able to use the port 2197 as alternative port to send notifications. #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rodrigoestevao
Copy link

This change add a new parameter, called use_alternative_port, that when is True, it will use the alternative port (i.e. 2197) to send APNs notifications.

If you use a firewall or private Access Point Name for cellular data, your Apple devices must be able to connect to specific ports on specific hosts:

  • TCP port 5223 to communicate with APNs.
  • TCP port 443 or 2197 to send notifications to APNs.

TCP port 443 is used during device activation, and afterwards for fallback if devices can't reach APNs on port 5223. The connection on port 443 uses a proxy as long as the proxy allows the communication to pass through without decrypting.

(ref. https://support.apple.com/en-us/102266)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant