3 Replies Latest reply on Aug 14, 2016 11:36 PM by _zzz_

    Web Help Desk incoming mail - Connection refused: connect;


      I need help setting up Office 365 with Web Help Desk. We actually got the outgoing mail server to work however the incoming is getting "Connection refused: connect;".


      An error last occurred at 11/24/2015 10:41 am while attempting to retrieve e-mail from webhelpdesk@<domain>.org


      Connection refused: connect

      javax.mail.MessagingException: Connection refused: connect;
         nested exception is:
        java.net.ConnectException: Connection refused: connect
        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
        at javax.mail.Service.connect(Service.java:295)
        at com.macsdesign.whd.util.EmailUtils$1.executeUntilTimeout(EmailUtils.java:282)
        at com.macsdesign.util.ThreadTimer$TimeableThread.run(ThreadTimer.java:138)
      Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at com...


      I've tried both IMAP AND POP with SMTP.OFFICE365.COM, OUTLOOK.OFFICE365.COM over port 995, 993, 587 and 25 and also making sure SSL is checked.

      Firewall traffic has been opened from the Web Help Desk server to Office 365. I even went to Office 365 admin center and created a new connector to allow the public IP address of the Web Help Desk server.

      Please advise.



      Bruce Vang