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 Coderanch by Isaac Ferguson, 1 year ago
via blogspot.com by Unknown author, 2 years ago
via apache.org by Unknown author, 2 years ago
via Stack Overflow by susparsy
, 2 years ago
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at java.net.Socket.connect(Socket.java:538)	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1938)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)	at javax.mail.Service.connect(Service.java:295)	at javax.mail.Service.connect(Service.java:176)	at javax.mail.Service.connect(Service.java:125)	at javax.mail.Transport.send0(Transport.java:194)	at javax.mail.Transport.send(Transport.java:124)	at emailsenden.SendEmail.main(SendEmail.java:60)