java.net.ConnectException: Connection refused: connect

Coderanch | Preston Thornton | 8 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

    Help with JMX and Netbeans Tutorial (Outdated or broken)

    Coderanch | 8 years ago | Preston Thornton
    java.net.ConnectException: Connection refused: connect
  2. 0

    Java ME SDK 3 fails to start

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

    Automated exception search integrated into your IDE

  4. 0

    What is wrong with this Java code for a RMI JMX connection?

    Stack Overflow | 4 years ago | djangofan
    java.net.ConnectException: Connection refused: connect
  5. 0

    Remote JVM Analysis (Mini JConsole) « WebLogic

    middlewaremagic.com | 1 year ago
    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
      RegistryContext.lookup
      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. java.net.Socket.connect(Socket.java:469)
      8. java.net.Socket.<init>(Socket.java:366)
      9. java.net.Socket.<init>(Socket.java:180)
      10. sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      11. sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      12. sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
      13. sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
      14. sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
      15. sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
      16. sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
      17. sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
      18. com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
      18 frames