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 Rog&#233;rio Arantes
, 1 year ago
Cannot assign requested address: bind
via Stack Overflow by Søren Nødskov Hansen
, 2 years ago
via livedoor.jp by Unknown author, 2 years ago
Address already in use
via GitHub by akamalov
, 2 years ago
via livedoor.jp by Unknown author, 2 years ago
java.net.BindException: Cannot assign requested address: 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.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)	at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)	at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.Server.doStart(Server.java:293)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:472)	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:175)	at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:53)	at org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindingFactory.java:95)	at org.apache.cxf.jaxrs.JAXRSBindingFactory.addListener(JAXRSBindingFactory.java:88)	at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:123)	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:206)	at bdogo.teste_0_1.teste$Thread4RestServiceProviderEndpoint.run(teste.java:791)