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

  1. ,

    Make sure your server started correctly and is listening correctly on the correct port.

  2. ,
    Expert tip

    Firewall might be blocking your connection, or MySQL it's not running on your server machine.

Solutions on the web

via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
via Stack Overflow by fatihonurIRL
, 2 years ago
via GitHub by g-tiwari
, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.connect0(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)	at java.net.Socket.connect(Socket.java:579)	at net.schmizz.sshj.SocketClient.connect(SocketClient.java:70)	at net.schmizz.sshj.SocketClient.connect(SocketClient.java:77)	at net.schmizz.sshj.SocketClient.connect(SocketClient.java:103)	at com.atlassian.bamboo.plugins.scp.SshTask.execute(SshTask.java:74)	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:187)	at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:93)	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)	at java.lang.Thread.run(Thread.java:722)