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

Google Groups | Unknown author | 3 months ago
  1. 0

    Internal server error and failure to connect

    Google Groups | 3 months ago | Unknown author
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [ localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
  2. 0

    Connecting a 2nd jube to master jube, and killing client spams logs on master

    GitHub | 2 years ago | davsclaus
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:8282 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused
  3. 0

    apache httpclient 4.5.1 making only SSL conections to non-ssl sites, and failing

    Stack Overflow | 11 months ago | Praveen
    java.lang.Exception: Connect to 189.219.54.22:10000 [/189.219.54.22] failed: Connection timed out: connect ...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    kafka package -- master.mesos port 80?

    GitHub | 3 months ago | luhkevin
    org.apache.http.conn.HttpHostConnectException: Connect to master.mesos:80 [master.mesos/192.168.1.4] failed: Connection refused
  6. 0

    [TEST-FAILURE] JettyWebFilterTest.testAttributeDistribution [Executing: node - not deferred]

    GitHub | 2 years ago | bilalyasar
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:80 [localhost/127.0.0.1] failed: Connection refused

  1. Adarro 1 times, last 4 months ago
  2. kid 1 times, last 5 months ago
  3. poroszd 3 times, last 7 months ago
  4. andyglick 2 times, last 9 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.http.conn.HttpHostConnectException

    Connect to localhost:8080 [ localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused

    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect()
  2. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)
    2. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    3. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    4. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    5. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    6. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    7. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    8 frames
  3. WireMock
    WireMock.stubFor
    1. com.github.tomakehurst.wiremock.client.HttpAdminClient.safelyExecuteRequest(HttpAdminClient.java:266)
    2. com.github.tomakehurst.wiremock.client.HttpAdminClient.postJsonAssertOkAndReturnBody(HttpAdminClient.java:249)
    3. com.github.tomakehurst.wiremock.client.HttpAdminClient.addStubMapping(HttpAdminClient.java:115)
    4. com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:213)
    5. com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:209)
    6. com.github.tomakehurst.wiremock.client.WireMock.givenThat(WireMock.java:80)
    7. com.github.tomakehurst.wiremock.client.WireMock.stubFor(WireMock.java:84)
    7 frames