java.net.BindException: Address already in use: bind [Server:main-one] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.8.0_74] [Server:main-one] at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190) [Server:main-one] at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243) [xnio-api-3.3.6.Final.jar:3.3.6.Final] [Server:main-one] at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126) [Server:main-one] at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138) [Server:main-one] ... 5 more [Server:main-one] org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase.testRollbackAcrossGroupsRolloutPlan: java.lang.Exception: Http request failed.

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

,
Expert tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.

,
Expert tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.

Solutions on the web

via GitHub by wildfly-ci
, 1 year ago
Address already in use: bind [Server:main-one] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:425) [rt.jar
via GitHub by wildfly-ci
, 1 year ago
Address already in use: bind [Server:main-one] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:425) [rt.jar
java.net.BindException: Address already in use: bind [Server:main-one] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.8.0_74] [Server:main-one] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.8.0_74] [Server:main-one] at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190) [Server:main-one] at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243) [xnio-api-3.3.6.Final.jar:3.3.6.Final] [Server:main-one] at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126) [Server:main-one] at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138) [Server:main-one] ... 5 more [Server:main-one] org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase.testRollbackAcrossGroupsRolloutPlan: java.lang.Exception: Http request failed.
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at org.jboss.as.test.integration.common.HttpRequest.processResponse(HttpRequest.java:151)
at org.jboss.as.test.integration.common.HttpRequest.access$000(HttpRequest.java:45)
at org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 8 months ago
833 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.