java.net.BindException: Address already in use

Stack Overflow | user6556673 | 7 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

    Tomcat Connectors definition in server.xml file

    Stack Overflow | 1 year ago | Maxim Kirilov
    java.net.BindException: Address already in use
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Port already use error in Apache Tomcat

    Coderanch | 4 months ago | Nishant Kahate
    java.net.BindException: Address already in use

  1. kuldeep 12 times, last 5 months ago
  2. esaar 4 times, last 7 months ago
  3. SteVio1989 1 times, last 2 weeks ago
  4. tyson925 2 times, last 2 weeks ago
  5. jpvee 1 times, last 4 weeks ago
43 more registered users
52 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)
    5 frames
  3. Grizzly HTTP
    AbstractHttp11JsseProtocol.init
    1. org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:339)
    2. org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:737)
    3. org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)
    4. org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
    4 frames
  4. Glassfish Core
    Catalina.load
    1. org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
    2. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    3. org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)
    4. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    5. org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
    6. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    7. org.apache.catalina.startup.Catalina.load(Catalina.java:576)
    8. org.apache.catalina.startup.Catalina.load(Catalina.java:599)
    8 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
    2 frames