java.net.BindException: Address already in use

Stack Overflow | ealeon | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and rafael . Or join the community to write better ones.
  1. 0

    Apache ZooKeeper Error status=1

    Stack Overflow | 9 months ago | ealeon
    java.net.BindException: Address already in use
  2. 0

    Zookeeper don`t start in cluster mode

    Stack Overflow | 4 weeks ago | Fabian Kn
    java.net.BindException: Die Adresse wird bereits verwendet (eng. The address is already in use)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug 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.
  5. 0
    samebug tip
    Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

  1. Unknown User 8 times, last 3 hours ago
  2. Victor_IT 1 times, last 1 week ago
  3. tomthomas 4 times, last 4 days ago
  4. andyglick 32 times, last 2 weeks ago
  5. bandoca 14 times, last 2 weeks ago
54 more registered users
41 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.BindException

    Address already in use

    at sun.nio.ch.Net.bind0()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind0(Native Method)
    2. sun.nio.ch.Net.bind(Net.java:433)
    3. sun.nio.ch.Net.bind(Net.java:425)
    4. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    5. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    6. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
    6 frames
  3. Zookeeper
    QuorumPeerMain.main
    1. org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95)
    2. org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:130)
    3. org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
    4. org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
    4 frames