java.net.ConnectException: Connection refused: connect

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

Solutions on the web

via Oracle Community by kroberts5683, 1 year ago
via Oracle Community by Vlad77, 1 year ago
via Oracle Community by Angelo B. Braga, 1 year ago
Connection refused: connect
via Google Groups by Arun Viswanath, 1 year ago
Connection timed out: connect
via Oracle Community by 1041587, 1 year ago
via Stack Overflow by Bala
, 1 year ago
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 1 year ago
Once, 2 months ago
836 more bugmates

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