java.net.BindException: Cannot assign requested address

Super User | Antony Naveen | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 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.
  2. 0

    Sonarqube is not working

    Super User | 4 months ago | Antony Naveen
    java.net.BindException: Cannot assign requested address
  3. 0

    Trying to install sonarqube on linux machine but getting error

    Stack Overflow | 2 years ago | Pranshu
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-38099]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind0(Native Method)[na:1.8.0_111]
    2. sun.nio.ch.Net.bind(Net.java:433)[na:1.8.0_111]
    3. sun.nio.ch.Net.bind(Net.java:425)[na:1.8.0_111]
    4. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)[na:1.8.0_111]
    5. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)[na:1.8.0_111]
    5 frames
  3. Grizzly HTTP
    AbstractHttp11JsseProtocol.init
    1. org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)[tomcat-embed-core-8.0.32.jar:8.0.32]
    3. org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4. org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4 frames
  4. Glassfish Core
    Tomcat.start
    1. org.apache.catalina.connector.Connector.initInternal(Connector.java:960)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)[tomcat-embed-core-8.0.32.jar:8.0.32]
    3. org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4. org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)[tomcat-embed-core-8.0.32.jar:8.0.32]
    5. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)[tomcat-embed-core-8.0.32.jar:8.0.32]
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)[tomcat-embed-core-8.0.32.jar:8.0.32]
    7. org.apache.catalina.startup.Tomcat.start(Tomcat.java:345)[tomcat-embed-core-8.0.32.jar:8.0.32]
    7 frames
  5. org.sonar.server
    WebServer.start
    1. org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:62)[sonar-server-5.6.4.jar:na]
    2. org.sonar.server.app.WebServer.start(WebServer.java:42)[sonar-server-5.6.4.jar:na]
    2 frames
  6. org.sonar.process
    ProcessEntryPoint.launch
    1. org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:102)[sonar-process-5.6.4.jar:na]
    1 frame
  7. org.sonar.server
    WebServer.main
    1. org.sonar.server.app.WebServer.main(WebServer.java:68)[sonar-server-5.6.4.jar:na]
    1 frame