Support » Plugin: SMTP Mailer » Error: Connection refused (111)

  • Resolved Franz92

    (@franz92)


    Hi!
    Thank you for the plugin. I am getting the following error message:

    2020-11-10 08:27:54 Connection: opening to smtp.office365.com:587, timeout=300, options=array()
    2020-11-10 08:28:02 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused) [/home/brauerei/public_html/wp-includes/PHPMailer/SMTP.php line 349]
    2020-11-10 08:28:02 SMTP ERROR: Failed to connect to server: Connection refused (111)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    This is the server info:

    OS: Linux web17.glarotech.ch 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
    PHP version: 7.2.34
    WordPress version: 5.5.1
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available

    Have you encountered this already? What could the problem be?

    Thank you for your help!
    Franz

Viewing 1 replies (of 1 total)
  • Plugin Author Noor Alam

    (@naa986)

    @franz92, Please contact your host to make sure that port 587 is open and supports TLS encryption.

Viewing 1 replies (of 1 total)
  • The topic ‘Error: Connection refused (111)’ is closed to new replies.