java.net.BindException: Address already in use

GitHub | xiao321 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    mvn clean install失败

    GitHub | 9 months ago | xiao321
    java.net.BindException: Address already in use
  2. 0

    Sometimes fail in zookeeper test

    GitHub | 2 years ago | davsclaus
    java.net.BindException: Address already in use
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 37#276642015

    GitHub | 3 months ago | phungleson
    java.net.BindException: Address already in use
  6. 0

    ZooKeeper fail to start

    GitHub | 1 year ago | dipietro-salvatore
    java.net.BindException: Cannot assign requested address

  1. rp 2 times, last 2 days ago
  2. batwalrus76 2 times, last 5 days ago
  3. Dunmer 2 times, last 6 days ago
  4. johnxfly 1 times, last 2 weeks ago
  5. tomthomas 3 times, last 1 day ago
49 more registered users
46 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
    NIOServerCnxnFactory.configure
    1. org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95)
    1 frame
  4. com.huawei.streaming
    RemoteExucutorTest.setUpBeforeClass
    1. com.huawei.streaming.cql.LocalTaskCommons.runFromConfig(LocalTaskCommons.java:379)
    2. com.huawei.streaming.cql.LocalTaskCommons.startZookeeperServer(LocalTaskCommons.java:171)
    3. com.huawei.streaming.cql.executor.RemoteExucutorTest.setUpBeforeClass(RemoteExucutorTest.java:47)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    6. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    6 frames
  7. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
    5 frames