Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by kishore
, 1 year ago
via Stack Overflow by ranjith
, 2 years ago
Connection to http://192.168.1.1:8080 refused
via Stack Overflow by timestron
, 2 years ago
Connection to http://192.168.1.135:9000 refused
via Stack Overflow by Hassy
, 2 years ago
Connection to <a href="http://127.0.0.1" rel="nofollow">http://127.0.0.1</a> refused
via Stack Overflow by Dexter
, 2 years ago
Connection to <a href="http://api.twitter.com" rel="nofollow">http://api.twitter.com</a> refused
org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.42 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470) at com.aceuat.sms.ACESMSGService.connectServerTeachr(ACESMSGService.java:213) at com.aceuat.sms.ACESMSGService$1$1.run(ACESMSGService.java:103) at java.lang.Thread.run(Thread.java:818)Caused by: java.net.ConnectException: socket failed: EACCES (Permission denied) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) ... 9 moreCaused by: java.net.SocketException: socket failed: EACCES (Permission denied) at libcore.io.IoBridge.socket(IoBridge.java:619) at java.net.PlainSocketImpl.create(PlainSocketImpl.java:198) at java.net.Socket.checkOpenAndCreate(Socket.java:689) at java.net.Socket.connect(Socket.java:849) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:149) ... 9 moreCaused by: android.system.ErrnoException: socket failed: EACCES (Permission denied) at libcore.io.Posix.socket(Native Method) at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:282) at libcore.io.IoBridge.socket(IoBridge.java:604) ... 14 more