java.net.ConnectException: Connection refused: no further information

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 807551, 1 year ago
Connection refused: no further information
via Google Groups by David Caveney, 6 months ago
Connection refused: no further information
via Google Groups by Jason Burdey, 2 years ago
Connection refused: no further information
via Oracle Community by 423923, 1 year ago
Connection refused: no further information. Root exception is java.net.ConnectException: Connection refused: no further information
via Oracle Community by 807554, 1 year ago
via Google Groups by andreas.linnert, 1 week ago
Connection refused: no further information
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.(Socket.java:285)
at java.net.Socket.(Socket.java:139)
at undefined.client1012.main(client1012.java:20)

Users with the same issue

22 times, 5 hours ago
7 times, 9 hours ago
474 times, 12 hours ago
18 times, 1 day ago
12 times, 6 days ago

Write tip

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