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

Solutions on the web

via apache.org by Unknown author, 2 years ago
via Oracle Community by 627161, 1 year ago
Connection refused
via Stack Overflow by Unknown author, 2 years ago
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

Users with the same issue

142 times, 1 day ago
8 times, 2 days ago
552 times, 2 days ago
11 times, 4 days ago
26943 times, 5 days ago

Write tip

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