title: How do you connect remotely using Python + Webdriver
body: <p>I am trying to figure out how to connect to my remote webdriver instance.</p>
  
  <p>This is the code I am currently using:</p>
  
  <pre><code>from selenium.remote.webdriver import WebDriver
  
  driver = WebDriver("http://172.16.205.129:4444", "firefox", "ANY")
  driver.get('http://google.com')
  driver.quit()
  </code></pre>
  
  <p>I find that I can't connect and will get a connection refused, or if i play around with the code, occasionally a time out.</p>
  
  <p>Any help is appreciated.</p>