Error uploading file from android sdcard
<p>When uploading the file from my emulators sdcard to the local wampserver I got this error. </p>

<blockquote>
  <p>03-22 10:46:15.459: ERROR/Debug(487): error: localhost/127.0.0.1:80 - Connection refused</p>
</blockquote>

<p>sample code</p>

<pre><code>String urlString = "http://localhost/uploads/index.php";

try
{
  //------------------ CLIENT REQUEST
  FileInputStream fileInputStream = new FileInputStream(new File(existingFileName));
  // open a URL connection to the Servlet
  URL url = new URL(urlString);
</code></pre>

<p>Can anybody tell me what this error means and what I have to do to avoid it?</p>
