java.net.BindException: Address already in use: bind


Samebug tips

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.


7 months ago
Expert tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.


5 months ago
Expert tip

Solutions on the web

Solution icon of stackoverflow
Address already in use: bind

Solution icon of github
via GitHub by shangqingbai
, 10 months ago
Address already in use: bind

Solution icon of github
via GitHub by husbeard
, 1 year ago
Address already in use: bind

Solution icon of github
via GitHub by kisskevin
, 1 year ago
Address already in use: bind

Solution icon of github
Address already in use: bind

Solution icon of github
Address already in use: bind

Solution icon of googlegroups
via Google Groups by Unknown author, 7 months ago
Address already in use: bind

Solution icon of googlegroups
via Google Groups by cundemil, 10 months ago
Address already in use: bind

Solution icon of googlegroups
via Google Groups by Sunil Kumar, 5 months ago
Address already in use: bind

Solution icon of googlegroups
via Google Groups by Fabrice Bellingard, 6 days ago
Address already in use: bind

Stack trace

java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Unknown Source)
	at sun.nio.ch.Net.bind(Unknown Source)
	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
	at org.seleniumhq.jetty9.server.ServerConnector.open(ServerConnector.java:321)
	at org.seleniumhq.jetty9.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
	at org.seleniumhq.jetty9.server.ServerConnector.doStart(ServerConnector.java:236)
	at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.seleniumhq.jetty9.server.Server.doStart(Server.java:366)
	at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:147)
	at org.openqa.grid.selenium.GridLauncherV3$1.launch(GridLauncherV3.java:229)
	at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:91)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

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
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
158 more bugmates