Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Its saying that a Java application is trying to connect on port but that port is already being used by some other process and JVM Bind to that particular port is failed.

  2. ,
    via Stack Overflow by Coffee

    Check which program is running on the given port.

    Windows: netstat -a -b -n (Use Resource Monitor if you are admin) Linux: lsof -i:<port>

    Kill the process.

    Windows taskkill -pid <process-id> /f Linux kill -9 <process-id>

Solutions on the web

via GitHub by Smull99
, 1 year ago
java.net.BindException: Address already in use
via GitHub by boyberm
, 1 year ago
java.net.BindException: Address already in use
via GitHub by StephanBijzitter
, 1 year ago
java.net.BindException: Address already in use
via GitHub by qwertychacha2002
, 1 year ago
java.net.BindException: Address already in use
via GitHub by blindxscript
, 1 year ago
java.net.BindException: Address already in use
java.net.BindException: Address already in use: bind	at sun.nio.ch.Net.bind0(Native Method)	at sun.nio.ch.Net.bind(Unknown Source)	at sun.nio.ch.Net.bind(Unknown Source)	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)	at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)	at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)	at io.undertow.Undertow.start(Undertow.java:142)	at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:121)	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:293)	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)	at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)	at ink.abb.pogo.scraper.MainKt.main(Main.kt:89)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:104)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:61)	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)