java.net.BindException: Address already in use

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

,
Expert tip

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

,
Expert tip

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.

Solutions on the web

via GitHub by renqHIT
, 11 months ago
via Google Groups by Puja Gupta, 1 year ago
Address already in use
via Stack Overflow by Raghu
, 4 months ago
via hortonworks.com by Unknown author, 1 year ago
via GitHub by ryan-williams
, 2 years ago
Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

Users with the same issue

63 times, 2 days ago
2 times, 3 days ago
2 times, 3 days ago
Once, 4 days ago
11 times, 5 days ago

Write tip

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