java.net.ConnectException: Connection refused: connect

Oracle Community | Jeta007 | 4 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

    Endeca Server - CAS service continuously going down.  - Indexing ATG-Endeca

    Oracle Community | 4 years ago | Jeta007
    java.net.ConnectException: Connection refused: connect
  2. 0

    Driver not found Exception in Web Service example

    Stack Overflow | 6 years ago | sjain
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to catch "Unable to sendViaPost to url"?

    Stack Overflow | 3 years ago | Danijel
    java.net.ConnectException: Connection refused: connect
  5. 0

    "Connection refused" with https:outbound-endpoint in Mule flow

    mulesoft.org | 2 years ago
    java.net.ConnectException: Connection refused: connect

  1. treefolk 1 times, last 3 weeks ago
  2. rp 1 times, last 2 months ago
  3. musketyr 1 times, last 4 months ago
  4. ruifung 1 times, last 6 months ago
8 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.PlainSocketImpl.socketConnect()
  2. Java RT
    Method.invoke
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. sun.reflect.GeneratedMethodAccessor455.invoke(Unknown Source)
    8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    9. java.lang.reflect.Method.invoke(Method.java:597)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    7 frames
  4. com.endeca.itl
    ServiceLocator.getService
    1. com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:114)
    2. com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81)
    3. com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145)
    3 frames