title: URL Connect to XAMPP Server using Android Emulator
body: <p>I am writing a program in which i am <em>trying to store data into XAMPP Server via Android Emulator</em>, but i am getting error while inserting data into XAMPP.</p>
  
  <p>Error: Unknown Status!</p>
  
  <p>and i dam sure that i am getting this error because i am not using correct url to connect</p>
  
  <p>Please check my below url to connect to XAMPP Server via Android Emulator:</p>
  
  <pre><code>   String url = "http://ipaddress/test.php"
  </code></pre>
  
  <p>I have tried this by using my IP address also, but whenever i browse it on browser getting  <strong>Object Not Found</strong>:</p>
  
  <p><em>The requested URL '/test.php' was not found on the RomPager server</em></p>
  
  <pre><code>  String url = "http://127.0.0.1/test.php"
  
    String url = "http://10.0.2.2/test.php"
  </code></pre>
  
  <p><strong>Note :</strong> <em>I have tested my php code before and it works fine, so something wrong in my URL</em></p>
  
  <p>I am using below lines in PHP Script:</p>
  
  <pre><code>$objConnect = mysql_connect("localhost","root","") or die("Cannnot Connect to Database");
      $objDB = mysql_select_db("registration");
  </code></pre>