java.net.BindException: Address already in use

Stack Overflow | challangerm | 5 months ago
  1. 0

    Apache ZooKeeper Error status=1

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

    Add some troubleshooting docs?

    GitHub | 2 years ago | mtscout6
    java.net.BindException: Failed to listen on port 50000 because it's already in use.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Sometimes fail in zookeeper test

    GitHub | 2 years ago | davsclaus
    java.net.BindException: Address already in use
  5. 0

    [v2] - Unit test of fabric-groups may fail with a port already in use

    GitHub | 2 years ago | davsclaus
    java.net.BindException: Address already in use

  1. musketyr 1 times, last 7 days ago
  2. johnxfly 1 times, last 1 week ago
  3. kjhdofjosvs 1 times, last 2 weeks ago
  4. rlovtangen 2 times, last 1 week ago
  5. Nikolay Rybak 1 times, last 1 month ago
40 more registered users
55 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:444)
    3. sun.nio.ch.Net.bind(Net.java:436)
    4. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
    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.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:116)
    3. org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:91)
    4. org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:53)
    5. org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:121)
    6. org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)
    6 frames