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.

Jun 1, 2018 in Selenium by Shaheer
• 130 points
11,212 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 Jun 1, 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,500 points
2,465 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
• 58,020 points
24,140 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,910 points
644 views
0 votes
1 answer

Unable to use Selenium IDE & Firebug on Firefox

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

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
1,537 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 5, 2019 in Selenium by Sidha
635 views
0 votes
2 answers

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,500 points
13,674 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,143 views
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,910 points
7,221 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,874 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP