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 GitHub by nilimamohabansi
, 1 year ago
org.zaproxy.clientapi.core.ClientApiException: java.net.ConnectException: Connection refused
via GitHub by lfatty
, 1 year ago
org.zaproxy.clientapi.core.ClientApiException: java.net.ConnectException: Connection refused
via GitHub by Narenqa
, 6 months ago
org.zaproxy.clientapi.core.ClientApiException: java.net.SocketException: Unexpected end of file from server
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.Socket.connect(Socket.java:589)	at java.net.Socket.connect(Socket.java:538)	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)	at sun.net.www.http.HttpClient$1.run(HttpClient.java:484)	at sun.net.www.http.HttpClient$1.run(HttpClient.java:482)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:481)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:522)	at sun.net.www.http.HttpClient.(HttpClient.java:211)	at sun.net.www.http.HttpClient.New(HttpClient.java:308)	at sun.net.www.http.HttpClient.New(HttpClient.java:326)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1147)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)	at org.zaproxy.clientapi.core.ClientApi.getConnectionInputStream(Unknown Source)	at org.zaproxy.clientapi.core.ClientApi.callApiDom(Unknown Source)	at org.zaproxy.clientapi.core.ClientApi.callApi(Unknown Source)	at org.zaproxy.clientapi.gen.Core.version(Unknown Source)	at net.continuumsecurity.proxy.ZAProxyScanner.validateMinimumRequiredZapVersion(ZAProxyScanner.java:102)	at net.continuumsecurity.proxy.ZAProxyScanner.(ZAProxyScanner.java:54)	at net.continuumsecurity.proxy.SpiderTest.configure(SpiderTest.java:20)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)