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

Solutions on the web

via Google Groups by Adam Blomeke, 1 year ago
Connection refused: connect
via Stack Overflow by sjain
, 2 years ago
via symmetricds by pli2133
, 1 year ago
Connection refused: connect
via mygnet.net by Unknown author, 1 year ago
via mygnet.net by Unknown author, 1 year ago
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 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:597)	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)	at org.mxunit.ant.HttpHelper.runTest(Unknown Source)	at org.mxunit.ant.MXUnitAntTask.doTest(Unknown Source)	at org.mxunit.ant.MXUnitAntTask.runDirectoryTests(Unknown Source)	at org.mxunit.ant.MXUnitAntTask.execute(Unknown Source)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)	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:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.Target.execute(Target.java:435)	at org.apache.tools.ant.Target.performTasks(Target.java:456)	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)	at org.apache.tools.ant.Main.runBuild(Main.java:851)	at org.apache.tools.ant.Main.startAnt(Main.java:235)	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)