java.lang.RuntimeException Address already in use

Samebug tips3

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.

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web9200

  • via cassandra-dev by Apache Hudson Server, 1 year ago Address already in use
  • via GitHub by ia7maxd
    , 11 months ago Address already in use
  • via GitHub by icyeti
    , 11 months ago Address already in use
  • Stack trace

    • java.lang.RuntimeException: Address already in use at io.undertow.Undertow.start( at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start( at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer( at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh( at at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh( at org.springframework.boot.SpringApplication.refresh( at org.springframework.boot.SpringApplication.createAndRefreshContext( at at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at org.springframework.boot.loader.Launcher.launch( at org.springframework.boot.loader.Launcher.launch( at org.springframework.boot.loader.JarLauncher.main( Caused by: Address already in use at Method) at at at at at org.xnio.nio.NioXnioWorker.createTcpConnectionServer( at org.xnio.XnioWorker.createStreamConnectionServer( at io.undertow.Undertow.start( ... 19 more

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 1 year ago
    9 times, 1 month ago
    Unknown user
    Once, 1 year ago
    Once, 3 hours ago
    8 times, 6 days ago
    142 more bugmates