title: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 9090): connect failed: ECONNREFUSED (Connection refused)
body: <p>I am working with an App in Android. It uses a local host server in my PC to get some data. But I am getting warning in LotCat like this after running.</p>
  
  <blockquote>
    <p>02-07 15:51:48.965: W/System.err(10339): com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 9090): connect failed: ECONNREFUSED (Connection refused)</p>
  </blockquote>
  
  <p>I am using a real device to connect to PC and run my App. <code>android:permission:internet</code> has been enabled in AndroidManifest.xml. The real device which I am using is hTC mobile with Androidv4.2.2. I am not using an asyncTask to call this webservice. 
  Can anyone please help me....</p>