java.net.BindException

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.


rafael
tip

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.


rafael
tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Crash on startup
    via GitHub by Valdo197
    ,
  • Grails 3.0 Spring Security
    via Stack Overflow by hat_to_the_back
    ,
  • Spring suite tools start error - spring boot
    via Stack Overflow by j. doe
    ,
    • java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method)[na:1.8.0_101] at sun.nio.ch.Net.bind(Unknown Source)[na:1.8.0_101] at sun.nio.ch.Net.bind(Unknown Source)[na:1.8.0_101] at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)[na:1.8.0_101] at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)[na:1.8.0_101] at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)[DiscordSoundboard.jar!/:1.4.8] at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:765)[DiscordSoundboard.jar!/:1.4.8] at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:473)[DiscordSoundboard.jar!/:1.4.8] at org.apache.catalina.connector.Connector.startInternal(Connector.java:986)[DiscordSoundboard.jar!/:1.4.8] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[DiscordSoundboard.jar!/:1.4.8] at org.apache.catalina.core.StandardService.addConnector(StandardService.java:239)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.addPreviouslyRemovedConnectors(TomcatEmbeddedServletContainer.java:194)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:151)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)[DiscordSoundboard.jar!/:1.4.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)[DiscordSoundboard.jar!/:1.4.8] at net.dirtydeeds.discordsoundboard.MainController.main(MainController.java:20)[DiscordSoundboard.jar!/:1.4.8] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.8.0_101] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)[DiscordSoundboard.jar!/:1.4.8] at java.lang.Thread.run(Unknown Source)[na:1.8.0_101]

    Users with the same issue

    tomthomas
    3 times, last one,
    Unknown visitor1 times, last one,
    Victor_IT
    1 times, last one,
    SteVio1989
    3 times, last one,
    osvzs
    1 times, last one,
    136 more bugmates