java.net.ConnectException: Connection refused

Coderanch | Arun Giridharan | 6 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

    RMI problem

    Coderanch | 6 years ago | Arun Giridharan
    java.net.ConnectException: Connection refused
  2. 0

    Rmi connection refused with localhost

    Stack Overflow | 7 years ago | Fortega
    java.net.ConnectException: Connection refused
  3. 0

    Rmi connection refused with localhost

    dolinked.com | 2 years ago
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RMI: Connection refused to host - Editing /etc/hosts and setProperty() not working

    Stack Overflow | 1 year ago | Christian
    java.net.ConnectException: Connection refused
  6. 0

    Connection refused to host

    Oracle Community | 1 decade ago | 843793
    java.net.ConnectException: Connection refused

    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

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      Naming.rebind
      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. java.net.Socket.connect(Socket.java:478)
      8. java.net.Socket.<init>(Socket.java:375)
      9. java.net.Socket.<init>(Socket.java:189)
      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.TCPChannel.createConnection(TCPChannel.java:198)
      14. sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
      15. sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
      16. sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
      17. java.rmi.Naming.rebind(Naming.java:160)
      17 frames
    3. Unknown
      MyRemoteImpl.main
      1. MyRemoteImpl.main(MyRemoteImpl.java:19)
      1 frame