java.net.ConnectException: Connection refused: connect

Coderanch | sam patel | 1 decade 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

    java.net.ConnectException: Connection refused: connect error

    Coderanch | 1 decade ago | sam patel
    java.net.ConnectException: Connection refused: connect
  2. 0

    RMI client server application, client  connecting problem under 1.6_10 jre

    Oracle Community | 8 years ago | 843798
    java.net.ConnectException: Connection timed out: connect

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused: connect

      at javax.swing.JTextField$NotifyAction.actionPerformed()
    2. Java RT
      EventDispatchThread.run
      1. javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:696)
      2. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1384)
      3. javax.swing.JComponent.processKeyBinding(JComponent.java:2078)
      4. javax.swing.JComponent.processKeyBindings(JComponent.java:2104)
      5. javax.swing.JComponent.processKeyEvent(JComponent.java:2041)
      6. java.awt.Component.processEvent(Component.java:3553)
      7. java.awt.Container.processEvent(Container.java:1164)
      8. java.awt.Component.dispatchEventImpl(Component.java:2593)
      9. java.awt.Container.dispatchEventImpl(Container.java:1213)
      10. java.awt.Component.dispatchEvent(Component.java:2497)
      11. java.awt.LightweightDispatcher.processKeyEvent(Container.java:2155)
      12. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2135)
      13. java.awt.Container.dispatchEventImpl(Container.java:1200)
      14. java.awt.Component.dispatchEvent(Component.java:2497)
      15. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
      16. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
      17. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
      18. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      19. java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
      19 frames