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 Stack Overflow by Threx
, 2 years ago
Address already in use: bind
via codegur.online by Unknown author, 1 year ago
via Stack Overflow by Sushan Limbu
, 1 year ago
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.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131)	at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:88)	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:248)	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:237)	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:86)	at org.glassfish.grizzly.config.GenericGrizzlyListener.start(GenericGrizzlyListener.java:184)	at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:109)	at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start0(GrizzlyProxy.java:267)	at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:241)	at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:567)	at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:490)	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:326)	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:762)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)