title: Push Notifications through BES/BIS , BlackBerry
body: <p>I am trying to use push notifications for OS &lt; 7.X .</p>
  
  <p>I downloaded the sample server / client code. I deployed the client code on my device and the low-level-sample code on the tomcat provided.</p>
  
  <p>For the record , when i registered for push notifications here i registered using the BIS option. Now that i was actually given a blackberry i was informed it is using BES ( i dont think though this is the root of the problem that i am going to describe..).</p>
  
  <p>On the device , in the sample application i put all the correct settings given from the email i received.</p>
  
  <p>Both my pc which is running the tomcat server and my phone are connected to the same wifi.</p>
  
  <p>I am trying from the device browser to connect to the server , eg <code>https://196.84.32.112:8443/low-level-sample</code></p>
  
  <p>and the browser opens the page normally , meaning that i am able  to connect to my server from the mobile.</p>
  
  <p>Now when i hit register from the device sample app ( i have tried both BIS/BES options on the settings ) , i always get the following error :</p>
  
  <p><em><strong>Request to register failed. Cause by java.io.IOException: Network operation[Subscribe] failed. Make sure that Content Provider URL is accessible.</em></strong></p>
  
  <p>In the log i get :</p>
  
  <p><em><strong>Opening URL: my server url appended with info like username/password/model/connection type etc
  Content Provider network command [ Subscribe] failed , caused by could not connect to <code>196.84.32.112:8443</code>
  Command "register" failed with error: java.io.IOException: Network operation[Subscribe] failed. Make sure that Content Provider URL is accessible.</em></strong></p>
  
  <p>A thought is that i should register again for new push keys and use the BIS/BES option instead of only BIS , but here the problem seems to be no connectivity with the local server , not the RIM server. I already tried to register though and i am waiting for the mail with the new settings.</p>
  
  <p>Also i am a bit confused with the BIS / BES option. I have no idea if my users will have BIS or BES enabled so what do i put in my code ?! In the sample application it asks me to select between BIS or BES but when the app is going to production and i need to programmatically make that choice what will i choose?! Or this choice is made only for the evaluation/development of the app and on production there is another server ?</p>