title: Failed to connect to APNS
body: <p>We are facing a strange problem with APNS.</p>
  
  <p>We have a live app and it is able to send Push Message from the API domain. But we are preparing to move it to another server where we are testing with the IP instead of domain.</p>
  
  <p>We are using the same settings and code, but APNS keeps failing returning the following error:
  <strong>NOTICE: Failed to connect to APNS: 0 .</strong></p>
  
  <p>We have checked thoroughly, we have 2195 and 2196 ports open and SSL installed on our new server.</p>
  
  <p>Can anyone please tell me if APNS keeps failing because of using IP instead of domain name?</p>
  
  <p>Regards,
  SG</p>