title: Cannot connect to chrome at 127.0.0.1:53007 while using undetected_chromedriver in Python
body: <p>I am trying to use <a href="https://github.com/ultrafunkamsterdam/undetected-chromedriver" rel="nofollow noreferrer">undetected_chromedriver</a> for bypassing Cloudfare Protection.</p>
  <p>This is the simple code I am trying to use</p>
  <pre><code>import undetected_chromedriver as uc
  from selenium import webdriver
  import time
  
  options = webdriver.ChromeOptions() 
  options.add_argument(&quot;start-maximized&quot;)
  
  driver = uc.Chrome(options=options)
  
  url = 'https://etherscan.io/tx/0x6b0e974952c7df4270cfb4aac332042af9b72c487e42d0bc04a676134118c1ac'
  
  driver.get(url)
  time.sleep(5)
  print(driver.title)
  </code></pre>
  <p><strong>However, I get the error :</strong></p>
  <pre><code>Traceback (most recent call last):
    File &quot;test2.py&quot;, line 9, in &lt;module&gt;
      driver = uc.Chrome(options=options)
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/undetected_chromedriver/__init__.py&quot;, line 401, in __init__
      super(Chrome, self).__init__(
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py&quot;, line 70, in __init__
      super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], &quot;goog&quot;,
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py&quot;, line 93, in __init__
      RemoteWebDriver.__init__(
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 269, in __init__
      self.start_session(capabilities, browser_profile)
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/undetected_chromedriver/__init__.py&quot;, line 589, in start_session
      super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 360, in start_session
      response = self.execute(Command.NEW_SESSION, parameters)
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 425, in execute
      self.error_handler.check_response(response)
    File &quot;/root/tx_sniper/my_env/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py&quot;, line 247, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:58911
  from chrome not reachable
  Stacktrace:
  #0 0x5622d155aad3 &lt;unknown&gt;
  #1 0x5622d12ba3ff &lt;unknown&gt;
  #2 0x5622d12a8ab9 &lt;unknown&gt;
  #3 0x5622d12e0f69 &lt;unknown&gt;
  #4 0x5622d12d8ee6 &lt;unknown&gt;
  #5 0x5622d13142ba &lt;unknown&gt;
  #6 0x5622d130e4e3 &lt;unknown&gt;
  #7 0x5622d12e3d1a &lt;unknown&gt;
  #8 0x5622d12e4e75 &lt;unknown&gt;
  #9 0x5622d1588efd &lt;unknown&gt;
  #10 0x5622d15a219b &lt;unknown&gt;
  #11 0x5622d158ac65 &lt;unknown&gt;
  #12 0x5622d15a2ec8 &lt;unknown&gt;
  #13 0x5622d157e360 &lt;unknown&gt;
  #14 0x5622d15bea68 &lt;unknown&gt;
  #15 0x5622d15bebe8 &lt;unknown&gt;
  #16 0x5622d15d87fd &lt;unknown&gt;
  #17 0x7f129a6566db &lt;unknown&gt;
  </code></pre>
  <p><strong>I am using the following versions :</strong></p>
  <p>Python 3.8</p>
  <p>Google Chrome : 100.0.4896.75</p>
  <p>ChromeDriver : 100.0.4896.60</p>
  <p>undetected-chromedriver : 3.1.5.post4</p>
  <p>selenium : 4.1.3</p>