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

via GitHub by rawlingsj

host port isnt set


Check if your MongoDB is available.

Solutions on the web

via Stack Overflow by rt.jar
, 1 year ago
via Oracle Community by 843830, 1 year ago
Connection refused| [12:07:00:488]|[01-09-2007]|[SYSOUT]|[INFO]|[14]|:
via by Unknown author, 2 years ago
via Oracle Community by 843834, 1 year ago
via Stack Overflow by Unknown author, 2 years ago Connection refused
at Method)
at com.sun.mail.util.SocketFetcher.createSocket(
at com.sun.mail.util.SocketFetcher.getSocket(
at com.sun.mail.pop3.Protocol.(
at com.sun.mail.pop3.POP3Store.getPort(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
at org.tester.task.TestMail.main(

Users with the same issue

130 times, 41 minutes ago
11 times, 1 day ago
26943 times, 1 day ago
4 times, 3 days ago
5 times, 3 days ago

Write tip

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