java.net.ConnectException

Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]

Samebug tips4

Check if your MongoDB is available.

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13800

  • via Oracle Community by 501697, 1 year ago
    Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
  • Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
  • via Oracle Community by 576270, 1 year ago
    Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
  • Stack trace

    • java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:169) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.tybera.util.JBeanBase.getHome(JBeanBase.java:49) at com.signer.docproc.DocumentControllerJBean.lookupDocumentControllerHome(DocumentControllerJBean.java:1734) at com.signer.docproc.DocProcClient.packageCompleteSubmissions(DocProcClient.java:99) at com.signer.docproc.DocProcClient.runMethod(DocProcClient.java:84) at com.signer.docproc.DocProcClient.timeTick(DocProcClient.java:59) at com.signer.docproc.DocProcClient.main(DocProcClient.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.tybera.util.RunClassEverySoOften.run(RunClassEverySoOften.java:102) at java.lang.Thread.run(Thread.java:534) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:464) at java.net.Socket.connect(Socket.java:414) at java.net.Socket.<init>(Socket.java:310) at java.net.Socket.<init>(Socket.java:154) at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2359) at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1813) at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:782) at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:150)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 2 weeks ago
    Unknown user
    Once, 1 month ago
    6 times, 1 month ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 1 month ago
    826 more bugmates