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 jsystemtest by cantagonised
, 1 year ago
Connection refused: connect
via Coderanch by ranua agarwal, 1 year ago
Connection refused: connect
via Oracle Community by 843790, 1 year ago
Connection refused: connect
via openas2 by davaasuren
, 1 year ago
Connection refused: connect
via openas2 by brian_lai
, 1 year ago
Connection refused: connect
via Oracle Community by 843798, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.(Socket.java:375)
at java.net.Socket.(Socket.java:189)
at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53)
at com.aqua.filetransfer.ftp.FTPClient.connect(FTPClient.java:44)
at jsystem.runner.agent.clients.JSystemAgentClient.uploadProject(JSystemAgentClient.java:388)
at jsystem.runner.agent.clients.JSystemAgentClient.synchronizeProject(JSystemAgentClient.java:147)
at jsystem.treeui.client.RemoteAgentClient.syncAgentsWithLocalProject(RemoteAgentClient.java:178)
at jsystem.treeui.agents.AgentsDialog$SynchronizeAction$1.doInBackground(AgentsDialog.java:397)
at jsystem.treeui.agents.AgentsDialog$SynchronizeAction$1.doInBackground(AgentsDialog.java:389)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

11 times, 8 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 9 months ago
948 more bugmates

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