title: selenium.common.exceptions.WebDriverException: Message: connection refused
body: <p>Here is my code:</p>
  
  <pre><code>from selenium import webdriver
  
  browser = webdriver.Firefox()
  
  browser.get('http://www.python.org')
  
  browser.close()
  </code></pre>
  
  <p>It launched the firefox browser when I ran this script, but the page is blank, then the command line shows the error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "ad.py", line 3, in &lt;module&gt;
      browser = webdriver.Firefox()
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 76, in __init__
      keep_alive=True)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 92, in __init__
      self.start_session(desired_capabilities, browser_profile)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 179, in start_session
      response = self.execute(Command.NEW_SESSION, capabilities)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
      self.error_handler.check_response(response)
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: connection refused
  </code></pre>
  
  <p>My python vesion is <em>2.7.3</em> and the selenium version is <em>selenium-3.0.0.b3.egg-info</em></p>
  
  <p>Please, how do I solve the problem ...</p>