java.net.ConnectException: Connection refused: connect, status=0}

GitHub | joncarey | 3 years 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

    Invalid Endpoint used when accessing Neutron back-end

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

    Invalid Endpoint used when accessing Neutron back-end

    GitHub | 3 years ago | joncarey
    java.net.ConnectException: Connection refused: connect, status=0}
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Maven Cargo: Integration Test runs before cargo deploys war

    Stack Overflow | 3 years ago
    javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused
  5. 0

    maven cargo: not deploying with running test

    Stack Overflow | 3 years ago
    javax.ws.rs.ProcessingException: 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:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:579)
    9. sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    11. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    12. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    15. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
    18. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
    19. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    19 frames
  3. jersey-core-client
    JerseyInvocation$1.call
    1. org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:293)
    2. org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:200)
    3. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:215)
    4. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:634)
    5. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:631)
    5 frames
  4. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:421)
    4 frames
  5. jersey-core-client
    JerseyInvocation$Builder.method
    1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:631)
    2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:366)
    2 frames
  6. OpenStack4j
    NetworkServiceImpl.list
    1. org.openstack4j.core.transport.internal.HttpExecutor.invoke(HttpExecutor.java:92)
    2. org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:52)
    3. org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:43)
    4. org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:136)
    5. org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:131)
    6. org.openstack4j.openstack.networking.internal.NetworkServiceImpl.list(NetworkServiceImpl.java:24)
    6 frames
  7. carey.jon.openstack4j
    MainClass.main
    1. carey.jon.openstack4j.MainClass.main(MainClass.java:62)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
    1 frame