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 hivmr.com by Unknown author, 2 years ago
via hivmr.com by Unknown author, 1 year ago
via sap.com by Unknown author, 2 years ago
via liferay.com by Unknown author, 1 year ago
via Google Groups by Javier Iglesia Aparicio, 6 months ago
via Google Groups by skko...@gmail.com, 2 years ago
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)	at java.net.Socket.connect(Socket.java:452)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA12275)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.init(DashoA12275)	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA12275)	at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA12275)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)	at sun.net.www.protocol.https.HttpsClient.init(DashoA12275)	at sun.net.www.protocol.https.HttpsClient.a(DashoA12275)	at sun.net.www.protocol.https.HttpsClient.a(DashoA12275)	at sun.net.www.protocol.https.HttpsClient.a(DashoA12275)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainConnect(DashoA12275)	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA12275)	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:569)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(DashoA12275)	at com.hp.HPSendMessageToQueue.main(HPSendMessageToQueue.java:186)