java.net.ConnectException: Connection refused

Stack Overflow | AZhuk | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cannot run DeployR for Microsoft R Server 2016

    Stack Overflow | 9 months ago | AZhuk
    java.net.ConnectException: Connection refused
  2. 0

    GitHub comment 3189#200407713

    GitHub | 1 year ago | deepu105
    com.netflix.client.ClientException: Number of retries on next server exceeded max 1 retries, while making a call for: 172.18.0.6:8080
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    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.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)
    3. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
    4. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
    6. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    7. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
    9 frames
  4. diagnostics
    Diagnostics.main
    1. diagnostics.Diagnostics.isDeployrRunning(Diagnostics.java:184)
    2. diagnostics.Diagnostics.<init>(Diagnostics.java:102)
    3. diagnostics.Diagnostics.main(Diagnostics.java:248)
    3 frames