title: Android: Check connection to server
body: <p>So I have a method that checks if the device is connected to the internet <a href="https://stackoverflow.com/questions/5911418/check-internet-connection-in-android">based on this one</a></p>
  
  <p>It works ok, but in a couple of cases I find that although the phone shows being connected to the internet, it still does not have access to my server. What I am really looking to do it check connection to my specific URL. </p>
  
  <p>How could I implement that?</p>