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

Samebug tips

  1. ,
    via Stack Overflow by Tassos Bassoukos

    ECONNREFUSED means that the connection was attempted and the remote host answered back that nobody's listening on that port. Check if the Java server listens on all interfaces. Or check your bind address on the server.

  2. ,
    via Stack Overflow by Utsav

    ECONNREFUSED means that the connection was attempted and the remote host port is not listening. Hence this can be caused by:

    Is it a valid IP? check using ifconfig or ipconfig. You can try pinging the server.

    ping <host-ip>

Solutions on the web

via Stack Overflow by dya
, 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
, 1 year 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 Arthur Wang
, 2 years ago
via xda-developers.com by Unknown author, 2 years ago
android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)	at libcore.io.IoBridge.isConnected(IoBridge.java:223)	at libcore.io.IoBridge.connectErrno(IoBridge.java:171)	at libcore.io.IoBridge.connect(IoBridge.java:122)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)	at java.net.Socket.connect(Socket.java:882)	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:149)	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:379)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:580)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481)	at com.chronicwatch.app.utils.WebRequest.post(WebRequest.java:72)	at com.chronicwatch.app.utils.WebRequest.loadDataFromNetwork(WebRequest.java:54)	at com.octo.android.robospice.request.CachedSpiceRequest.loadDataFromNetwork(CachedSpiceRequest.java:48)	at com.octo.android.robospice.request.DefaultRequestRunner.processRequest(DefaultRequestRunner.java:150)	at com.octo.android.robospice.request.DefaultRequestRunner$1.run(DefaultRequestRunner.java:217)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)	at java.lang.Thread.run(Thread.java:818)