java.net.ConnectException: Connection refused: connect

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • agent synchronization to xp vm hanging
    via jsystemtest by cantagonised
    ,
  • Mule - User - Mule FTP
    via by Unknown author,
  • Telnet
    via by 843790,
  • Passing Ping Command Through Telnet
    via by ranua agarwal,
  • Connection refused
    via by Unknown author,
  • How work with socket and hostnames in Java?
    via by Unknown author,
  • Change IP on Websese Security Server 7.6
    via by Unknown author,
    • 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.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:189) at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53) at org.apache.commons.net.SocketClient.connect(SocketClient.java:162) 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

    chenjunjun
    chenjunjun11 times, last one,
    Unknown visitor1 times, last one,
    Casper
    Casper6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    819 more bugmates