org.apache.http.conn.HttpHostConnectException: Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect

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 wildfly-ci
, 1 year ago
Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
via GitHub by wildfly-ci
, 1 year ago
Connect to [::1]:8180 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
via GitHub by wildfly-ci
, 1 year ago
Connect to [::1]:8180 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
via github.com by Unknown author, 2 years ago
Connect to [::1]:8180 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
via GitHub by wildfly-ci
, 1 year ago
Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
via GitHub by wildfly-ci
, 1 year ago
Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
org.apache.http.conn.HttpHostConnectException: Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
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.PlainSocketImpl.connect(PlainSocketImpl.java:172)
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:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.queryCount(StatefulFailoverTestCase.java:317)
at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.nestedBeanFailover(StatefulFailoverTestCase.java:290)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.