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. ,
    Expert tip

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

  2. ,
    Expert 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.

Solutions on the web

via Oracle Community by 807581, 1 year ago
Address already in use
via Stack Overflow by Gaurav Agarwal
, 2 years ago
via j-trac by nobody
, 2 years ago
Address already in use: bind
via Google Groups by sagar naik, 2 years ago
java.net.BindException: Address already in use	at sun.nio.ch.Net.bind(Native Method)	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)	at com.sun.enterprise.server.ss.provider.ASServerSocket.bind(ASServerSocket.java:292)	at com.sun.enterprise.server.ss.provider.ASServerSocketImpl.listen(ASServerSocketImpl.java:166)	at java.net.ServerSocket.bind(ServerSocket.java:320)	at java.net.ServerSocket.bind(ServerSocket.java:277)	at com.asnetla.commonDCSJ.serverControl.socketServer.ServerSOCKET.iniciarServerSocket(ServerSOCKET.java:116)	at com.asnetla.commonDCSJ.serverControl.socketServer.ServerSOCKET.activarServer(ServerSOCKET.java:96)	at com.asnetla.commonDCSJ.serverControl.socketServer.TempServerSOCKET.generarServer(TempServerSOCKET.java:367)	at com.asnetla.commonDCSJ.serverControl.socketServer.TempServerSOCKET.enviarTramaS(TempServerSOCKET.java:193)	at com.asnetla.commonDCSJ.serverControl.ControlServers.enviarTramaS(ControlServers.java:283)	at com.asnetla.commonDCSJ.admonComponent.CommonDCSJ.enviarTramaS(CommonDCSJ.java:154)	at com.asnetla.b2v2d.services.communication.CoreHelper.enviarTrama(CoreHelper.java:244)	at com.asnetla.b2v2d.services.operator.ProcessStateService.executeService(ProcessStateService.java:46)	at com.asnetla.b2v2d.controller.RequestProcessor.processRequest(RequestProcessor.java:139)	at com.asnetla.b2v2d.servlets.OperatorRequestServlet.doGet(OperatorRequestServlet.java:53)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)	at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:192)	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:404)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)