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

    Check if your MariaDB is running and available.

Solutions on the web

via Oracle Community by 523659, 1 year ago
via Oracle Community by 408071, 1 year ago
via Google Groups by Peter Büttner, 4 months ago
via Oracle Community by user8680179, 1 year ago
Connection refused
via Oracle Community by 843810, 1 year ago
Connection refused
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 java.net.Socket.connect(Socket.java:402)	at java.net.Socket.(Socket.java:309)	at java.net.Socket.(Socket.java:124)	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)	at com.sun.jndi.ldap.Connection.(Connection.java:181)