java.net.ConnectException

Connection refused

Samebug tips9

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


rafaelrafael

Check if your MongoDB is available.


rprp

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

Solutions on the web5776

  • via Unknown by Unknown author,
  • via GitHub by malenki
    ,
  • via GitHub by confile
    ,
  • Stack trace

    • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309) at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167) at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386) at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408) at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184) at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808) at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)

    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 visitor
    Unknown visitorOnce,
    mortalman7mortalman7
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    483 more bugmates