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 | 7 months ago
  1. 0

    GitHub comment 8875#214818510

    GitHub | 7 months 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 | 7 months 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

    Callbacks not triggered

    GitHub | 3 years ago | kigero
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Invalid Endpoint used when accessing Neutron back-end

    GitHub | 2 years ago | joncarey
    java.net.ConnectException: Connection refused: connect, status=0}
  6. 0

    How to write on web server in java

    Stack Overflow | 6 years ago | agarwal_achhnera
    java.net.ConnectException: Connection refused: connect

  1. mauritius 7 times, last 2 weeks ago
  2. marcbouvierdav 1 times, last 4 months ago
  3. bpbhat77 1 times, last 5 months ago
16 unregistered visitors
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