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.

GitHub | wildfly-ci | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 8875#214818510

    GitHub | 1 year ago | wildfly-ci
    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.
  2. 0

    GitHub comment 8875#214884784

    GitHub | 1 year ago | wildfly-ci
    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.
  3. 0

    GitHub comment 60#51005545

    GitHub | 3 years ago | wildfly-ci
    java.io.IOException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 9153#260321590

    GitHub | 6 months ago | wildfly-ci
    java.util.concurrent.ExecutionException: java.io.IOException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: connect
  6. 0

    GitHub comment 9153#260318388

    GitHub | 6 months ago | wildfly-ci
    java.util.concurrent.ExecutionException: java.io.IOException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    9. java.net.Socket.connect(Socket.java:538)
    10. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    11. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    12. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    13. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    15. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    16. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
    17. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    18. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    19. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
    20. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
    21. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    22. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    22 frames
  3. JBoss Application Server Test Suite: Shared
    HttpRequest$1.call
    1. org.jboss.as.test.integration.common.HttpRequest.processResponse(HttpRequest.java:151)
    2. org.jboss.as.test.integration.common.HttpRequest.access$000(HttpRequest.java:45)
    3. org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:78)
    4. org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:73)
    4 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames