org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect ....

Stack Overflow | Eliyahu | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Appium: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect

    Stack Overflow | 2 months ago | Eliyahu
    org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect ....
  2. 0
    samebug tip
    Use '127.0.0.1' instead of 'localhost'.
  3. 0

    using HtmlUnit behind proxy

    Stack Overflow | 12 months ago | K.Ariche
    org.apache.http.conn.HttpHostConnectException: Connect to www.google.com:80 [www.google.com/172.217.16.196] failed: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:7055

    Stack Overflow | 9 months ago | Tanu Garg
    org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ADMINIB-8GSESH3', ip: '9.84.222.238', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_71' Driver info: driver.version: RemoteWebDriver Capabilities [{platform=WINDOWS, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=45.2.0}]
  6. 0

    Getting HttpHostConnectException while starting/stoping the appium server

    Stack Overflow | 4 months ago | Rahil Kumar
    org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4727 [/127.0.0.1] failed: Connection refused: connect Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'SHI58495EU1003F', ip: '192.168.0.106', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_66' Driver info: driver.version: AndroidDriver

  1. r1chjames 4 times, last 3 months ago
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 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect

    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect()
  2. Apache HttpClient
    PoolingHttpClientConnectionManager.connect
    1. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)
    2. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    2 frames