Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect to Firefox

I'm working on Selenium and I currently have a hub connected to two vms running linux with all the browsers.

I was able to launch browsers until suddenly it just stopped . Firefox or any of the other browsers don't launch. I get the following error.

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

I am running Selenium-server-standalone 2.26 with firefox 16.0.2 .

Please help.

like image 840
user1807948 Avatar asked Dec 31 '25 00:12

user1807948


1 Answers

Try running this before you start your Selenium server:

export DISPLAY=:0
like image 181
Amey Avatar answered Jan 01 '26 18:01

Amey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!