Which ports do I use to allow APNs Push Notifications to get past my firewall? John Lafauce November 01, 2016 01:43 Follow Which ports do I use to allow APNs Push Notifications to get past my firewall? Have more questions? Submit a request 1 Comments Date Votes 0 John Lafauce August 28, 2012 19:27 You need to allow outbound port 2195 and 443 to *.apple.com, *.google.com and *.blackberry.com. iOS For development - Encrypted TCP socket connection to gateway.sandbox.push.apple.com, port 2195 For production - Encrypted TCP socket connection to gateway.push.apple.com, port 2195 Android HTTPS POST connection to http://developer.android.com/guide/google/gcm/index.html Connect out to Client Login http://accounts.google.com/ Note: Google is migrating their Push notification system from C2DM to GCM: http://developer.android.com/guide/google/gcm/c2dm.html So, the ports might shift with that. BlackBerry (the URL is provided by RIM and can vary) For development - HTTPS POST connection to https://pushapi.eval.blackberry.com/ For production - HTTPS POST connection to https://pushapi.na.blackberry.com/ References - http://support.apple.com/kb/TS4264?viewlocale=en_US http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW1 http://code.google.com/android/c2dm/index.html#server https://www.blackberry.com/profile/?eventId=8121 Please sign in to leave a comment.