Connection refused

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


Check if your MongoDB is available.


Check if your MariaDB is running and available.

Solutions on the web

via Oracle Community by 807581, 1 year ago
via Oracle Community by 408071, 1 year ago
via Google Groups by GooziK, 2 months ago Connection refused
at Method)
at com.sun.jndi.ldap.Connection.createSocket(
at com.sun.jndi.ldap.Connection.(

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 41 minutes ago
2 times, 1 hour ago
417 times, 2 hours ago
Once, 1 day ago
298 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.