java.net.BindException: Address already in use

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

    How to clean tomcat traces from EC2 linux

    Stack Overflow | 7 months ago | Luna Paglarelli
    java.net.BindException: Address already in use
  2. 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.
  3. 0

    How to solve java.net.BindException: Address already in use

    Stack Overflow | 10 months ago | Dan
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat starting with some errors and not showing home page Mac OS

    Stack Overflow | 9 months ago | Ali Ahsan
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]

  1. Omya 1 times, last 3 months ago
  2. kuldeep 6 times, last 8 months ago
  3. Unknown User 5 times, last 4 hours ago
  4. Victor_IT 1 times, last 7 days ago
  5. tomthomas 4 times, last 2 days ago
54 more registered users
41 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
    AbstractHttp11Protocol.init
    1. org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210)
    2. org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:941)
    3. org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:237)
    4. org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:558)
    5. org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:65)
    5 frames
  4. Glassfish Core
    Catalina.load
    1. org.apache.catalina.connector.Connector.initInternal(Connector.java:968)
    2. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    3. org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
    4. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    5. org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
    6. org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    7. org.apache.catalina.startup.Catalina.load(Catalina.java:606)
    8. org.apache.catalina.startup.Catalina.load(Catalina.java:629)
    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:497)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)
    2 frames