org.apache.http.conn.HttpHostConnectException: Connect to www.google-analytics.com:80 [www.google-analytics.com/127.0.0.1] failed: Connection refused: connect

htmlunit | oboguev | 12 months ago
  1. 0

    Exception in corejs

    htmlunit | 12 months ago | oboguev
    org.apache.http.conn.HttpHostConnectException: Connect to www.google-analytics.com:80 [www.google-analytics.com/127.0.0.1] failed: Connection refused: connect
  2. 0

    HtmlUnit giving javascript.void(0) as ouput

    Stack Overflow | 11 months ago | NikhilEkbote
    org.apache.http.conn.HttpHostConnectException: Connect to localhost.wwbizsrv.alibaba.com:4012 [localhost.wwbizsrv.alibaba.com/127.0.0.1] failed: Connection refused: connect
  3. 0

    Alfresco share 503 Connection refused

    Stack Overflow | 11 months ago | Masi
    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: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Passing username/password in Apache Http Client Java similar to CURL

    Stack Overflow | 3 years ago | Akshay Aroor
    org.apache.http.conn.HttpHostConnectException: Connect to api.calltrackingmetrics.com:443 [api.calltrackingmetrics.com/166.78.112.169, api.calltrackingmetrics.com/198.61.173.12] failed: Connection refused: connect

  1. poroszd 1 times, last 4 weeks ago
  2. musketyr 6 times, last 2 months ago
  3. Nikolay Rybak 4 times, last 2 months ago
  4. tfr 1 times, last 4 months ago
  5. pbabcsany 2 times, last 3 months ago
45 more registered users
48 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. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:579)
    8 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    10 frames
  4. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:177)
    2. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1324)
    3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1241)
    4. com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:1031)
    5. com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:974)
    6. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:399)
    7. com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:277)
    8. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:1002)
    9. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$500(JavaScriptEngine.java:103)
    10. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:949)
    10 frames
  5. HtmlUnit Core JS
    ContextFactory.call
    1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
    2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
    2 frames
  6. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:836)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:812)
    3. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:800)
    4. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:910)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:354)
    6. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:415)
    7. com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:277)
    8. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:293)
    9. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:799)
    9 frames
  7. Xerces2-j
    AbstractSAXParser.endElement
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    1 frame
  8. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:756)
    1 frame
  9. Maven
    HTMLConfiguration.parse
    1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170)
    2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072)
    3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
    4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330)
    5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126)
    6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093)
    7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)
    8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
    9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
    9 frames
  10. Xerces2-j
    XMLParser.parse
    1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    1 frame
  11. HtmlUnit
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1039)
    2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:252)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:198)
    4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:271)
    5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:159)
    6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:478)
    7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:352)
    8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:417)
    9. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:402)
    9 frames
  12. my.LJExport
    Main.main
    1. my.LJExport.Test.testHtmlUnit(Test.java:17)
    2. my.LJExport.Main.main(Main.java:54)
    2 frames