org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Little bird
, 1 year ago
Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
via Google Groups by ankit gupta, 2 years ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: addons.xpi DEBUG startup1423053409095 addons.xpi INFO Mapping fxdr...@googlecode.com to C:\Users\ANKIT~1.GUP\AppData\Local\Temp
via Stack Overflow by user3717068
, 1 year ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"43.0","st":1449744438000}},"app-system-share":{"ubufox@ubuntu.com":{"d":"/usr/share
via Google Groups by Shashank, 1 year ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:dPlugin\\Firefox\\Ext","installDate":1371131653185,"updateDate":1371131653185,"applyBackgroundUpdates":1,"bootstrap":false,"skinnable":false,"size":84573
via Google Groups by sandeep_rvce, 2 years ago
Unable to connect to host localhost on port 7055 after 45000 ms at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java: 88)
via Stack Overflow by blondeamon
, 2 years ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: *** Item Installed via directory addition to Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register... *** Item
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:197)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.