Unable to connect to host localhost on port 7055 after 45000 ms

726 views
Skip to first unread message

NagaRaju dasam

unread,
May 23, 2011, 8:57:12 AM5/23/11
to Selenium Users
Hi I am trying to work with web driver...and Junit..

i am getting below error

Unable to connect to host localhost on port 7055 after 45000 ms

Can any one pls help me how to resolve this issue..

FF browser is 4.0 and Windows Xp

below is the code:

public class First {

WebDriver driver;

@Before
public void startSelenium() {
driver = new FirefoxDriver();
//selenium = new WebDriverBackedSelenium(driver, "http://www.google.co.in/");
}

@After
public void stopSelenium() {
driver.close();
}

@Test
public void testUntitled() {
WebElement a=driver.findElement(By.name("q"));
a.sendKeys("selenium");
}

}

--
Thanks,
Naga


Lutfi Dughman

unread,
May 23, 2011, 10:01:32 AM5/23/11
to seleniu...@googlegroups.com
some other progam is using port 7055.

what is the error you are getting.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Krishna chaitanya

unread,
May 23, 2011, 10:36:05 AM5/23/11
to selenium-users
Try it in firefox 3.x and check it .. I am not getting any error when i run it ... 

"Unable to connect to host localhost on port 7055 " comes when the firefox extension is not initialized well . As said by Dughman, check whether some thing else is occupying 7055 port . Firefoxdirver attempts to use 7055 for communication ..Read the following link for more details

Sri

unread,
Mar 16, 2013, 6:18:29 PM3/16/13
to seleniu...@googlegroups.com, nagase...@gmail.com
I have upgraded to 2.31 for FF19. it works fine.
Reply all
Reply to author
Forward
0 new messages