java.net.ConnectException: Connection refused: connect

Stack Overflow | xetra11 | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    You should access rundeck using that 'grails.serverURL' from the config file 'rundeck-config.properties'.
    via GitHub by gschueler
  2. 0

    exception - java.net.ConnectException timed out - Stack Overflow

    xluat.com | 2 years ago
    java.net.ConnectException: Connection timed out: connect
  3. 0

    ForgeRock OpenIG Sample (WordPressLogin.json) not working

    Stack Overflow | 4 years ago | songjing
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems about installing webcenter sites 11.1.1.8.0

    Oracle Community | 3 years ago | Byron Z-Oracle
    java.net.ConnectException: Connection refused: connect
  6. 0

    Connection refuse error in jmeter recording

    Stack Overflow | 2 years ago | surendra matta
    org.apache.http.conn.HttpHostConnectException: Connection to http://blazedemo.com refused

  1. tvrmsmith 1 times, last 2 weeks ago
  2. SteVio1989 6 times, last 3 weeks ago
  3. batwalrus76 2 times, last 2 months ago
  4. Hronom 45 times, last 5 months ago
  5. iferca 2 times, last 5 months ago
72 more registered users
23 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.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    6. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    7. java.net.Socket.connect(Socket.java:589)
    7 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:120)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
    3. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
    4. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
    6. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
    7. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    8 frames
  4. Groovy HTTP
    HTTPBuilder.request
    1. groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:476)
    2. groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:441)
    3. groovyx.net.http.HTTPBuilder.request(HTTPBuilder.java:373)
    3 frames
  5. com.xetra11.toolbox
    RestHandlerTest.ExecuteToolTest
    1. com.xetra11.toolbox.components.executor.RestHandlerTest.ExecuteToolTest(RestHandlerTest.groovy:26)
    1 frame