java.net.ConnectException: 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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by matesio
, 5 months ago
Connection refused (Connection refused)
via Google Groups by Lucio Chiappetti, 10 months ago
Connection refused (Connection refused)
via Stack Overflow by karuppu sarath
, 4 months ago
Connection refused (Connection refused)
via GitHub by matesio
, 7 months ago
Connection refused (Connection refused)
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
2 times, 1 year ago
3 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 5 hours ago

Write tip

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