Discussion Forums  >  Self Hosted Control Panels

Replies: 3    Views: 78

RussFAR
Aspiring developer
Profile
Posts: 57
Reg: Jan 03, 2014
Buffalo, NY
4,320
01/27/14 05:57 AM (11 years ago)

Another Push Question

Should I be able to send push notifications on an app that is waiting for review? I am just sending a test to devices in design mode and got the "ports closed" message that could also be a bad sandbox certificate. My certs are brand new from apple obviously and my ports have just been open-end by my host provider. (dedicated IP upgrade as well)
 
RussFAR
Aspiring developer
Profile
Posts: 57
Reg: Jan 03, 2014
Buffalo, NY
4,320
like
01/27/14 06:32 AM (11 years ago)
Once again I jumped the gun. Answers are here. Looks like David saved it again! http://www.buzztouch.com/forum/thread.php?fid=50B2476FEC55554A013674D&tid=50B2476FEC55554A013674D
 
RussFAR
Aspiring developer
Profile
Posts: 57
Reg: Jan 03, 2014
Buffalo, NY
4,320
like
01/27/14 06:32 AM (11 years ago)
more ports need to be opened than specified by the error.
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
01/28/14 01:12 PM (11 years ago)
someone posted this code before to check the ports on your hosted server just copy and name it checkports.php and load onto your server remove" from beginning and ending " <?php chkServer('gateway.sandbox.push.apple.com',5223); //chkServer('gateway.push.apple.com',2195); function chkServer($host, $port) { $hostip = @gethostbyname($host); if ($hostip == $host) { echo "Server is down or does not exist"; } else { if (!$x = @fsockopen($hostip, $port, $errno, $errstr, 5)) { echo "Port $port is closed."; } else { echo "Port $port is open."; if ($x) { @fclose($x); } } } } ?> "
 

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.