Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. QA Testing
  3. Question
QA Testing

How can I fix this error - unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. firefox console output:

Asked by Amit Jaisawal Apr 26, 2022 680 views 1 answer
Share

About this question

My script is not running even by using selenium 2.53.1 and firefox 47.0.1. Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. is the error returned.

The script that was tried is,

package SystemPackTest; 

import org.openqa.selenium.WebDriver; 

import org.openqa.selenium.firefox.FirefoxDriver; 

public class TestClass { 
    public static void main(String[] args) { 
        WebDriver driver ;
        System.setProperty("webdriver.gecko.driver", "");
        driver = new FirefoxDriver(); 
        driver.get("google.com"); 
        System.out.println("Successfully opened the website"); 
        //driver.close(); 
    } 
} 

How to fix the error, Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms?

Your answer

1 Answer

More QA Testing discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest QA Testing Blogs

Guides, tips and career advice on QA Testing from JanBask experts.