title: Android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
body: <p>Im using Java connect with MySQL and Json will send data to android, When I send data from Java to json by URL address:</p>
  
  <pre><code>http://192.168.1.221:9999/rentalcar_service/category/getAllManufacturer
  </code></pre>
  
  <p>everything's fine, but when I parse data in Android I received an error result following as:</p>
  
  <pre><code>private static final String URL_MANUFACTURERS = "http://192.168.1.221:9999/rentalcar_service/category/getAllManufacturer";
  </code></pre>
  
  <p>Logcat:</p>
  
  <pre><code>W/System.err: Caused by: android.system.ErrnoException: isConnected failed:    ECONNREFUSED (Connection refused)
  W/System.err:     at libcore.io.IoBridge.isConnected(IoBridge.java:223)
  W/System.err:   ... 25 more
  I/MemoryCache: cache size=0 length=4
  W/System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 9999) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
  W/System.err:     at libcore.io.IoBridge.isConnected(IoBridge.java:234)
  W/System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
  W/System.err:     at libcore.io.IoBridge.connect(IoBridge.java:122)
  </code></pre>
  
  <p>(192.168.1.221) IP address is my PC, if I change from 192.168.1.221 to localhost, I still receive same error.</p>
  
  <p>How to fix this problem? Thank so much !</p>