java.net.BindException: Address already in use: bind

GitHub | Valdo197 | 1 month 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

    Crash on startup

    GitHub | 1 month ago | Valdo197
    org.apache.catalina.LifecycleException: Failed to start component [Connector[HTTP/1.1-8080]]
  2. 0

    tesseract 启动错误

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

    Address already in use: bind

    at sun.nio.ch.Net.bind0()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind0(Native Method)[na:1.8.0_101]
    2. sun.nio.ch.Net.bind(Unknown Source)[na:1.8.0_101]
    3. sun.nio.ch.Net.bind(Unknown Source)[na:1.8.0_101]
    4. sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)[na:1.8.0_101]
    5. sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)[na:1.8.0_101]
    5 frames
  3. Grizzly HTTP
    AbstractProtocol.start
    1. org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)[DiscordSoundboard.jar!/:1.4.8]
    2. org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:765)[DiscordSoundboard.jar!/:1.4.8]
    3. org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:473)[DiscordSoundboard.jar!/:1.4.8]
    3 frames
  4. Glassfish Core
    StandardService.addConnector
    1. org.apache.catalina.connector.Connector.startInternal(Connector.java:986)[DiscordSoundboard.jar!/:1.4.8]
    2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[DiscordSoundboard.jar!/:1.4.8]
    3. org.apache.catalina.core.StandardService.addConnector(StandardService.java:239)[DiscordSoundboard.jar!/:1.4.8]
    3 frames
  5. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:194)[DiscordSoundboard.jar!/:1.4.8]
    2. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:151)[DiscordSoundboard.jar!/:1.4.8]
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)[DiscordSoundboard.jar!/:1.4.8]
    4. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)[DiscordSoundboard.jar!/:1.4.8]
    4 frames
  6. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[DiscordSoundboard.jar!/:1.4.8]
    1 frame
  7. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[DiscordSoundboard.jar!/:1.4.8]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[DiscordSoundboard.jar!/:1.4.8]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[DiscordSoundboard.jar!/:1.4.8]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[DiscordSoundboard.jar!/:1.4.8]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)[DiscordSoundboard.jar!/:1.4.8]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)[DiscordSoundboard.jar!/:1.4.8]
    6 frames
  8. net.dirtydeeds.discordsoundboard
    MainController.main
    1. net.dirtydeeds.discordsoundboard.MainController.main(MainController.java:20)[DiscordSoundboard.jar!/:1.4.8]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_101]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_101]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_101]
    4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.8.0_101]
    4 frames
  10. Spring Boot Loader
    MainMethodRunner.run
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)[DiscordSoundboard.jar!/:1.4.8]
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[na:1.8.0_101]
    1 frame