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

Samebug tips

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via enterprisedt.com by Unknown author, 11 months ago
via symmetricds by pli2133
, 1 year ago
Connection refused: connect
via enterprisedt.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via Stack Overflow by QPaysTaxes
, 2 years ago
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.enterprisedt.net.ftp.internal.SocketUtils.createSocket(SocketUtils.java:94)
at com.enterprisedt.net.ftp.FTPControlSocket.(FTPControlSocket.java:310)
at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:862)
at com.enterprisedt.net.ftp.FileTransferClient.connect(FileTransferClient.java:367)
at envgui.GuiFrame.jMenuItem1_actionPerformed(GuiFrame.java:67)

Users with the same issue

475 times, 3 hours ago
5 times, 8 hours ago
Once, 10 hours ago
22 times, 19 hours ago
7 times, 22 hours ago

Write tip

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