java.net.ConnectException: Connection refused: connect

mygnet.net | 6 months 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

    Foros - JAVA,JSP y SERVLET - Web services - java

    mygnet.net | 6 months ago
    java.net.ConnectException: Connection refused: connect
  2. 0

    Foros - JAVA,JSP y SERVLET - AYUDA WEB SERVICES

    mygnet.net | 6 months ago
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Driver not found Exception in Web Service example

    Stack Overflow | 6 years ago | sjain
    java.net.ConnectException: Connection refused: connect
  5. 0

    How to catch "Unable to sendViaPost to url"?

    Stack Overflow | 3 years ago | Danijel
    java.net.ConnectException: Connection refused: connect
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:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:519)
    7. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    8. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    9. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    10. java.lang.reflect.Method.invoke(Method.java:597)
    10 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.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    8 frames
  4. Apache Axis2 - Transport - HTTP
    HTTPSender.sendViaPost
    1. org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
    2. org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
    2 frames
  5. org.apache.axis2
    OperationClient.execute
    1. org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    2. org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
    2 frames
  6. ppp
    ConsultarCliente.main
    1. ppp.ConsultarStub.Conectar(ConsultarStub.java:308)
    2. ppp.ConsultarCliente.main(ConsultarCliente.java:13)
    2 frames
  7. org.apache.axis2
    OperationClient.execute
    1. org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
    2. org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    3. org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
    3 frames
  8. ppp
    ConsultarCliente.main
    1. ppp.ConsultarStub.Conectar(ConsultarStub.java:308)
    2. ppp.ConsultarCliente.main(ConsultarCliente.java:13)
    2 frames