org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0

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 user1636922
, 1 year ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server
via suanfazu.com by Unknown author, 1 year ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server
via Stack Overflow by Martin Muñoz
, 1 week ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: pp-system-share:{2e1445b0-2682-11e1-bfc2-0800200c9a66} visible 1409862347400 DeferredSave.extensions.json DEBUG Save changes 1409862347400
via GitHub by goobemaster
, 7 months ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: hasEmbeddedWebExtension":false} 1491325059585 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd} 1491325059586
via GitHub by john77eipe
, 10 months ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: xpi","e":true,"v":"1.5","st":1483810103000},"firefox@getpocket.com":{"d":"/Applications/Firefox.app/Contents/Resources/browser/features/firefox
via GitHub by gsaimadhu
, 1 year ago
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: 59226 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global 1456753859226 addons.xpi DEBUG Existing add-on {D19CA586-DD6C-4a0a
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:109)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:109)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:185)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:178)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:174)
at com.test.webtest.browser.BrowserFactory.createBrowser(BrowserFactory.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)

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.