Discussion Forums  >  Self Hosted Control Panels

Replies: 12    Views: 730

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
02/09/13 07:57 PM (11 years ago)

Howto: Fix Push Notifications for Self Hosted! (connection refused error 2196)

Hi all, ATTENTION: This is not a "final" fix, David's working hard on the logic/code/methods to get something done, but this is how I managed to fix my push notifications for now. This works for the following error: "Connection Refused (2196)." What I think is going on here is indeed ports blocked by hosts. Outgoing ports are being blocked, although YES it's unusual for MOST hosts to block outgoing ports (like David said), they do block "uncommon" outgoing ports. This is considered uncommon for what it seems most shared hosts. For those who tried to unblock 2196, you were on a great start. The problem is that Apple has a few ports tied into 2196 for Push Notifications that need to be unblocked. They all tie together from what I can tell. You need to unblock them all for the connection to go through. GET YOUR PUSH NOTIFICATIONS WORKING: For APNs (Apple Push Notifications) traffic to get through, ask your host to confirm opening these following ports: 1. TCP port 5223 (used by devices to communicate to the APNs servers) 2. TCP port 2195 (used to send notifications to the APNs) 3. TCP port 2196 (used by the APNs feedback service) 4. TCP Port 443 (something mobile related I believe) The minute my host (HostGator.com) opened these ports, my push notifications were sent successfully and the dreaded connection refused error disappeared without a trace! I've already opened these ports for my clients on buzztouchmods.com, and my personal servers, it's confirmed multiple times to work, no fluke. Please do so and get back to me with results here, happy pushing! David https://buzztouchmods.com
 
Kaybee
buzztouch Evangelist
Profile
Posts: 659
Reg: Sep 22, 2012
Perth, Australi...
44,690
like
02/09/13 10:04 PM (11 years ago)
Thanks David My push is working well now !! Cheers
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/09/13 11:35 PM (11 years ago)
@MrDavid Thank you so much. Today I spent 3hrs on the phone with GoDaddy and then switched hosters to GatorHost, whom unlocked the ports in 9min. Push Works! Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/09/13 11:37 PM (11 years ago)
Glad you got it going, Jake! :) Cheers! -- Smug
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/09/13 11:43 PM (11 years ago)
@Jake I preach how amazing hostgator is, super cool you got it working and it was no problem at all! Cheers, David https://buzztouchmods.com
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/09/13 11:47 PM (11 years ago)
@MrDavid, Are you having any problems with: Download Plugins from your buzztouch.com Control Panel? Jake
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
02/10/13 12:42 AM (11 years ago)
@MrDavid Thanks, I'm HostGator too, so it's nice to know they'll get it done quickly. cheers
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
02/20/13 10:31 AM (11 years ago)
MrDavid, you rock! Such a great explanation.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
02/28/13 06:16 PM (11 years ago)
Do I need both incoming and outgoing? I'm on simple web hosting and hostgator told me that to do such a thing I need to upgrade to vps… Can I send push just with incoming or just outgoing, or I need both?
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
03/27/13 12:49 PM (11 years ago)
Do I need to get the static IP plan (Business Plan) from Host Gator? Or the Hatchling Plan with dynamic IP will work also?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/27/13 02:24 PM (11 years ago)
@daku7, I believe you only need the "Hatchling". Jake
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
04/01/13 11:17 PM (11 years ago)
Is the transfer easy from GoDaddy to HostGator?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
04/02/13 06:54 AM (11 years ago)
If you backup all of your files and database, it should be pretty easy. Jake
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.