java.net.BindException: Cannot assign requested address

openhab.org | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    karaf console not running on OH2

    GitHub | 2 months ago | gorzan14
    java.net.BindException: Address already in use
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    根据默认配置,tesseract执行报错

    GitHub | 2 years ago | yuchaozhou
    java.net.BindException: Address already in use: bind
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

    Cannot assign requested address

    at sun.nio.ch.Net.bind0()
  2. Java RT
    AsynchronousServerSocketChannelImpl.bind
    1. sun.nio.ch.Net.bind0(Native Method)[:1.8.0_101]
    2. sun.nio.ch.Net.bind(Net.java:433)[:1.8.0_101]
    3. sun.nio.ch.Net.bind(Net.java:425)[:1.8.0_101]
    4. sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:162)[:1.8.0_101]
    4 frames
  3. Apache Mina SSHD :: Core
    SshServer.start
    1. org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:66)[1:org.apache.sshd.core:0.14.0]
    2. org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:74)[1:org.apache.sshd.core:0.14.0]
    3. org.apache.sshd.SshServer.start(SshServer.java:287)[1:org.apache.sshd.core:0.14.0]
    3 frames
  4. org.apache.karaf
    BaseActivator.run
    1. org.apache.karaf.shell.ssh.Activator.doStart(Activator.java:117)[57:org.apache.karaf.shell.ssh:4.0.4]
    2. org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[57:org.apache.karaf.shell.ssh:4.0.4]
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_101]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
    5. java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
    5 frames