Question: I am getting error while using Firefox with WebDriver.

```
org.openqa.selenium.firefox.NotConnectedException: Unable to connect
to host 127.0.0.1 on port 7055 after 45000 ms.

```

* Firefox version:47.0
* Selenium:2.53.0
* Windows 10 64 bit

Is anyone getting a similar issue or any idea what is the solution for this? It's working fine with Chrome but with Firefox none of the URLs are getting loaded.

Answer: 
Try using firefox 46.0.1. It best matches with Selenium 2.53

```
https://ftp.mozilla.org/pub/firefox/releases/46.0.1/win64/en-US/

```
You can try using this code,

```
private WebDriver driver;
System.setProperty("webdriver.firefox.marionette","Your path to driver/geckodriver.exe");        
driver = new FirefoxDriver();

```

I upgraded to selenium 3.0.0 and Firefox version is 49.0.1

You can download geckodriver.exe from <https://github.com/mozilla/geckodriver/releases>

Make sure you download zip file only, geckodriver-v0.11.1-win64.zip file or win32 one as per your system and extract it in a folder. 

Put the path for that folder in the "Your path to driver" quotes.Don't forget to put geckodriver.exe in the path.