java.net.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • RMI timeout configuration
    via by Pat Sun,
  • java.rmi.ConnectException
    via by 843793,
  • Java RMI, Tomcat problem!
    via Stack Overflow by James Mayson
    ,
    • java.net.ConnectException: Connection timed out at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:585) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:203) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:189) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:329) at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89) at java.rmi.Naming.lookup(Naming.java:96) at RMIClient.main(RMIClient.java:12) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.connect(Socket.java:428) at java.net.Socket.<init>(Socket.java:335) at java.net.Socket.<init>(Socket.java:150) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580) ... 6 more

    Users with the same issue

    abrazeneb
    461 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Михайло Тітов
    12 times, last one,
    batwalrus76
    4 times, last one,
    276 more bugmates