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. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via openas2 by santosh-vjit
, 6 months ago
Connection refused (Connection refused)
via Stack Overflow by Hentory Wu
, 3 months ago
Connection refused (Connection refused)
via GitHub by hologup
, 1 year ago
Connection refused
via grokbase.com by Unknown author, 1 year ago
via GitHub by dchuquilla
, 1 year ago
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:334)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:196)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)	at java.net.Socket.connect(Socket.java:586)	at com.testing.android.util.TCPClient.openSocket(TCPClient.java:208)	at com.testing.android.util.TCPClient.connect(TCPClient.java:53)	at android.os.AsyncTask$2.call(AsyncTask.java:304)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)	at java.lang.Thread.run(Thread.java:761)