java.net.ConnectException: Connection refused: connect

Oracle Community | 3004 | 1 decade ago
  1. 0

    "Connection refused" when using Java client for Web Service

    Oracle Community | 1 decade ago | 3004
    java.net.ConnectException: Connection refused: connect
  2. 0

    java.net.ConnectException: Connection refused

    Oracle Community | 1 decade ago | 843834
    java.net.ConnectException: Connection refused: no further information
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cannot connect to mysql server

    Oracle Community | 2 decades ago | 843854
    java.net.ConnectException: Connection refused: connect
  5. 0

    Weblogic 6.1 example/security/sslclient jsseWLS.bat does not work

    Oracle Community | 1 decade ago | 3004
    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
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    5. java.net.Socket.<init>(Socket.java:273)
    6. java.net.Socket.<init>(Socket.java:100)
    6 frames
  3. weblogic.webservice.binding
    HttpClientBinding.send
    1. weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpClientBinding.java:420)
    2. weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpClientBinding.java:398)
    3. weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBinding.java:247)
    3 frames
  4. weblogic.webservice.core
    StubImpl._invoke
    1. weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHandler.java:34)
    2. weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java:131)
    3. weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:421)
    4. weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:363)
    5. weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    5 frames
  5. examples.webservices.basic
    HelloWorldEJBPort_Stub.registerRequest
    1. examples.webservices.basic.statelessSession.HelloWorldEJBPort_Stub.registerRequest(HelloWorldEJBPort_Stub.java:33)
    1 frame
  6. webservice.client
    RequestRegistrationWindow$WebServiceAction.actionPerformed
    1. webservice.client.RegisterRequest.registerRequestWebService(RegisterRequest.java:177)
    2. webservice.client.RequestRegistrationWindow$WebServiceAction.actionPerformed(RequestRegistrationWindow.java:182)
    2 frames
  7. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
    6. java.awt.Component.processMouseEvent(Component.java:3715)
    7. java.awt.Component.processEvent(Component.java:3544)
    8. java.awt.Container.processEvent(Container.java:1164)
    9. java.awt.Component.dispatchEventImpl(Component.java:2593)
    10. java.awt.Container.dispatchEventImpl(Container.java:1213)
    11. java.awt.Component.dispatchEvent(Component.java:2497)
    12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    15. java.awt.Container.dispatchEventImpl(Container.java:1200)
    16. java.awt.Window.dispatchEventImpl(Window.java:914)
    17. java.awt.Component.dispatchEvent(Component.java:2497)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    22. java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    22 frames