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. ,
    via GitHub by rawlingsj

    host port isnt set

  2. ,
    via Stack Overflow by LittlePanda

    To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

Solutions on the web

via GitHub by neddogg
, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connect to localhost:2376 [localhost/127.0.0.1] failed: Connection refused
via Stack Overflow by mvee
, 11 months ago
org.apache.http.conn.HttpHostConnectException: Connect to 46.101.7.176:2376 [/46.101.7.176] failed: Connection refused
via GitHub by Gokulk7
, 1 year ago
shaded.org.apache.http.conn.HttpHostConnectException: Connect to 172.31.24.89:6789 [/172.31.24.89] failed: Connection refused (Connection refused)
via filegala.com by Unknown author, 2 years ago
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via Stack Overflow by Kumar
, 2 years ago
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via GitHub by lntskyvang
, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4243 [/127.0.0.1] failed: Connection refused
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)	at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:435)	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)	at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:701)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:697)	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316)	at com.github.dockerjava.jaxrs.InfoCmdExec.execute(InfoCmdExec.java:26)	at com.github.dockerjava.jaxrs.InfoCmdExec.execute(InfoCmdExec.java:13)	at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)	at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)	at test.docker.java.App.main(App.java:28)