Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created September 15, 2020 18:50
Show Gist options
  • Save seleniumgists/cd478ce54aa6cd15d4465e074fd34339 to your computer and use it in GitHub Desktop.
Save seleniumgists/cd478ce54aa6cd15d4465e074fd34339 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
$ java -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig DefaultNodeWebDriver.json
13:47:39.742 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
13:47:39.835 INFO [GridLauncherV3.lambda$buildLaunchers$7] - Launching a Selenium Grid node on port 28174
2020-09-15 13:47:39.916:INFO::main: Logging initialized @396ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:47:40.118 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
13:47:40.194 ERROR [BaseServer.start] - Port 28174 is busy, please choose a free port and specify it using -port option
Exception in thread "main" java.lang.RuntimeException: java.net.BindException: Can't assign requested address
at org.openqa.selenium.grid.server.BaseServer.start(BaseServer.java:221)
at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:131)
at org.openqa.grid.internal.utils.SelfRegisteringRemote.startRemoteServer(SelfRegisteringRemote.java:119)
at org.openqa.grid.selenium.GridLauncherV3.lambda$buildLaunchers$7(GridLauncherV3.java:284)
at org.openqa.grid.selenium.GridLauncherV3.lambda$launch$0(GridLauncherV3.java:86)
at java.base/java.util.Optional.map(Optional.java:265)
at org.openqa.grid.selenium.GridLauncherV3.launch(GridLauncherV3.java:86)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:70)
Caused by: java.net.BindException: Can't assign requested address
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:461)
at java.base/sun.nio.ch.Net.bind(Net.java:453)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
at org.seleniumhq.jetty9.server.ServerConnector.openAcceptChannel(ServerConnector.java:339)
at org.seleniumhq.jetty9.server.ServerConnector.open(ServerConnector.java:307)
at org.seleniumhq.jetty9.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.seleniumhq.jetty9.server.ServerConnector.doStart(ServerConnector.java:235)
at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.seleniumhq.jetty9.server.Server.doStart(Server.java:395)
at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.openqa.selenium.grid.server.BaseServer.start(BaseServer.java:202)
... 7 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment