Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

+1 vote

When i execute a Selenium Script using Firefox, the firefox opens up but it doesn't redirect the the URL. Below is the error which is displayed on the Eclipse Console:

Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

May 31, 2018 in Selenium by Shaheer
• 130 points
2,967 views

I added latest selenium jar (3.141.59), geckodriver (v0.24.0) and Firefox 68 but to my bad, I see the same issue browser launches but dosen't accepts the URL and after some time throws error in eclipse console as "org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:"...

Does anybody has a solution, to this. On googling I see some reply where they mentioned to downgrade to Selenium 2.53. But I want to use the latest selenium jars.

Hi Vinu, have you tried checking the Selenium Jar files compatibility with Gecko Driver and Firefox browser? Check for the versions of Firefox browser and Gecko Driver which are compatible with Latest Selenium Jars. I hope this would resolve your issue.
Is there any specific location from where I can check for the compatibility

1 answer to this question.

–1 vote
This issue generally happens due to incompatibility between Firefox and Selenium Version. If you are using the Latest Version of Firefox Browser, then make sure that you have the Latest Gecko Driver and the Latest Version of Selenium Jars added to your Java Project.

You can download the Latest Versions from the below links:

(i) Mozilla Firefox: https://www.mozilla.org/en-US/firefox/new/

(ii) Gecko Driver: https://github.com/mozilla/geckodriver/releases

(iii) Selenium Jars: https://goo.gl/LtVMqu

Hope this helps !
answered May 31, 2018 by bits1
• 120 points
I already updated the following mentioned above. But it still doens't work for me. I'm using Eclipse 2018-12 ver 4.
Hey @Levy, can you tell me as, which version of selenium and which webdriver and its version are you using?

Related Questions In Selenium

0 votes
1 answer

Unable to connect to chromedriver 127.0.0.1:9515 on Amazon Linux AMI server

The issue seems to be only with ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,090 points
542 views
0 votes
2 answers

Unable to Click on an Element in Selenium (Python) even after finding it.

Here, I give you working script which ...READ MORE

answered Sep 19, 2018 in Selenium by Priyaj
• 56,520 points
7,399 views
0 votes
1 answer

Fail to connect to internet : Firefox 53 launched with gecko 0.16.1

Below code will help you: FirefoxProfile profile = ...READ MORE

answered Jul 25, 2018 in Selenium by Samarpit
• 5,130 points
80 views
0 votes
1 answer

Unable to use Selenium IDE & Firebug on Firefox

Unfortunately, Selenium IDE will not work anymore ...READ MORE

answered Apr 9, 2018 in Selenium by nsv999
• 5,090 points
86 views
0 votes
1 answer
0 votes
1 answer

Unable to find a button on the webpage.

I checked the website you are working ...READ MORE

answered Jan 4 in Selenium by Sidha
36 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
577 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
898 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
567 views