Why am I Not able to send http request over WIFI to a machine on the local network from my android device
<p>I am on WIFI and my Android device is connected. </p>

<p>In the android device I open a browser and go to <a href="http://192.168.1.12" rel="nofollow">http://192.168.1.12</a> - This is the IP address of the machine/server on the local network. I get the home page from this machine into my browser on the android device (because there is web server installed and it is a server machine).</p>

<p>Through my Java program - HttpPost is working very well for external sites like <a href="http://www.yahoo.com" rel="nofollow">http://www.yahoo.com</a> through WIFI - but it is NOT working for a server on the LAN</p>

<pre><code>HttpClient hc = new DefaultHttpClient();
HttpPost post = new HttpPost("http://192.168.0.12/");
HttpResponse rp = hc.execute(post); 
</code></pre>

<p>The above code DOES NOT work and http response status 404. But if I change the above url to say "http://www.yahoo.com" it works and response status is 200</p>

<p>Can anyone help please</p>
