java.net.ConnectException: Connection refused: connect

Coderanch | Stevens Miller | 4 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 Call Works on Same Host, Fails Over Network

    Coderanch | 4 years ago | Stevens Miller
    java.net.ConnectException: Connection refused: connect
  2. 0

    rmi connection problem

    Google Groups | 1 decade ago | VisionSet
    java.net.ConnectException: Connection refused: connect
  3. 0

    GitHub comment 14#167430339

    GitHub | 1 year ago | ranHaim
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Urgent Help Required For Starting RMI server from servlet.

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

    javaRMI example is good betwen windows but dont work under linux

    Oracle Community | 8 years ago | 843793
    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.DualStackPlainSocketImpl.connect0()
    2. Java RT
      RemoteObjectInvocationHandler.invoke
      1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
      2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
      3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
      7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
      8. java.net.Socket.connect(Socket.java:579)
      9. java.net.Socket.connect(Socket.java:528)
      10. java.net.Socket.<init>(Socket.java:425)
      11. java.net.Socket.<init>(Socket.java:208)
      12. sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
      13. sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
      14. sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
      15. sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
      16. sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
      17. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
      18. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      19. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      19 frames
    3. Unknown
      RMIclient.main
      1. $Proxy0.RMImethod(Unknown Source)
      2. RMIclient.main(RMIclient.java:16)
      2 frames