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 Stack Overflow by Veeresh Devireddy
, 1 year ago
via Oracle Community by 935486, 1 year ago
Connection refused
via james-server-user by Serge Knystautas, 2 years ago
Connection refused: connect
via marcotello.com by Unknown author, 1 year ago
via Oracle Community by 800404, 1 year ago
Connection timed out: connect
via Oracle Community by 800404, 1 year ago
Connection timed out: connect
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)	at java.net.Socket.connect(Socket.java:529)	at java.net.Socket.connect(Socket.java:478)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)