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 Atlassian JIRA by Adrian Hempel [Atlassian], 1 year ago
via Atlassian JIRA by Adrian Hempel [Atlassian], 1 year ago
via Mirth Project by Peter Scholz, 1 year ago
via Oracle Community by Veeresh.S, 1 year ago
java.net.ConnectException: Connection refused	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.(Socket.java:375)	at java.net.Socket.(Socket.java:249)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)	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 com.noelios.restlet.ext.httpclient.HttpMethodCall.sendRequest(HttpMethodCall.java:313)	at com.noelios.restlet.http.HttpClientConverter.commit(HttpClientConverter.java:418)	at com.noelios.restlet.http.HttpClientHelper.handle(HttpClientHelper.java:108)	at org.restlet.Client.handle(Client.java:157)	at org.restlet.Uniform.handle(Uniform.java:108)	at org.sonatype.nexus.integrationtests.RequestFacade.sendMessage(RequestFacade.java:118)	at org.sonatype.nexus.integrationtests.RequestFacade.sendMessage(RequestFacade.java:75)	at org.sonatype.nexus.integrationtests.RequestFacade.sendMessage(RequestFacade.java:68)	at org.sonatype.nexus.integrationtests.RequestFacade.doGetRequest(RequestFacade.java:62)	at org.sonatype.nexus.test.utils.NexusStatusUtil.getNexusStatus(NexusStatusUtil.java:52)	at org.sonatype.nexus.test.utils.NexusStatusUtil.isNexusRunning(NexusStatusUtil.java:181)	at org.sonatype.nexus.test.utils.NexusStatusUtil.start(NexusStatusUtil.java:103)	at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.startNexus(AbstractNexusIntegrationTest.java:810)	at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:357)	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:443)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:160)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:494)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)	at org.testng.TestRunner.runWorkers(TestRunner.java:909)	at org.testng.TestRunner.privateRun(TestRunner.java:618)	at org.testng.TestRunner.run(TestRunner.java:499)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)	at org.testng.SuiteRunner.run(SuiteRunner.java:204)	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915)	at org.testng.TestNG.runSuitesLocally(TestNG.java:879)	at org.testng.TestNG.run(TestNG.java:787)	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:149)	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:95)	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:114)	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.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)	at undefined.$Proxy0.invoke(Unknown Source)	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)