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 ramakant s, 1 year ago
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:337)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)	at java.net.Socket.connect(Socket.java:579)	at java.net.Socket.connect(Socket.java:528)	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)	at sun.net.www.http.HttpClient$2.run(HttpClient.java:440)	at sun.net.www.http.HttpClient$2.run(HttpClient.java:438)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:437)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:478)	at sun.net.www.http.HttpClient.(HttpClient.java:213)	at sun.net.www.http.HttpClient.New(HttpClient.java:300)	at sun.net.www.http.HttpClient.New(HttpClient.java:316)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:971)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)	at org.zaproxy.clientapi.core.ClientApi.callApiDom(Unknown Source)	at org.zaproxy.clientapi.core.ClientApi.callApi(Unknown Source)	at org.zaproxy.clientapi.gen.Spider.scan(Unknown Source)	at org.zaproxy.clientapi.core.ClientApi.spiderUrl(Unknown Source)	at org.zaproxy.clientapi.ant.SpiderUrlTask.execute(Unknown Source)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	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)