android - connection refused to webserver connecting from real device -


I'm trying to get my current location in Android and send it to the server everything goes well , But I get an error in HTTPResponse when sending it to the server.

The log error file below is

  02-18 20: 56: 54.424: w / system .err (16,477): org.apache.http.conn.HttpHostConnectException: to 19x.xx.xx.x connection refused xxxx 02-18 20: 56: 54.429: W / System.err (16,477): org.apache on .http.impl.conn.DefaultClientConnectionOperator.openConnection ( DefaultClientConnectionOperator.java:183) 02-18 20: 56: 54.429: W / System.err (16,477): to org.apache.http.impl.conn.AbstractPoolEntry.open (AbstractPoolEntry.java:164) 02-18 20: 56: 54.429: W / System.err (16,477): org.apache.http.impl.conn.AbstractPooledConnAdapter.open (AbstractPooledConnAdapter.java:119) at 02-18 20: 56: 54.429: W / System.err (16,477 ): At org.apache.http.impl.client.DefaultRequestDirector.execute (DefaultRequestDirector. java: 360) 02-18 20: 56: 54.429: W / System.err (16,477): At org.apache.http.impl.client.AbstractHttpClient.execute (Abstretacteepi client. Jawaः 670) 02-18 20: 56: 54.429 W / Sistmki RR (16,477): org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:509) 02-18 20: 56 to: 54.429 (16,477) W / Systemkerr : .impl.client.AbstractHttpClient.execute on org.apache.http (AbstractHttpClient.java:487) 02-18 20: 56: 54.429: W / System.err (16,477): to com.example.locationservicestest.LocationWebService.doInBackground (LocationWebService.java:53) 02-18 20: 56: 54.429: W / Systems. Er (16477): com.example.locationservicestest.LocationWebService.doInBackground (LocationWebService.java:1)  


Comments