• Resolved abeyus

    (@myusrymnor)


    I don’t know which one the problem since the login detail I used is correct.

    Versions:
    WordPress: 6.5.2
    WordPress MS: No
    PHP: 7.4.33
    WP Mail SMTP: 4.0.1
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused
    Host: mail.smtp2go.com
    Port: 465
    SMTPSecure: ssl
    SMTPAutoTLS: bool(false)
    SMTPAuth: bool(true)
    
    Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    
    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused
    
    SMTP Debug:
    2024-04-22 06:04:40 Connection: opening to ssl://mail.smtp2go.com:465, timeout=300, options=array()
    
    2024-04-22 06:04:41 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.smtp2go.com:465 (Connection refused) [/home/asmanage/public_html/wp-includes/PHPMailer/SMTP.php line 409]
    
    2024-04-22 06:04:41 SMTP ERROR: Failed to connect to server: Connection refused (111)
    
    SMTP Error: Could not connect to SMTP host. Failed to connect to server
Viewing 1 replies (of 1 total)
  • Hi @myusrymnor,

    Thanks for reaching out, and I’m so sorry about the inconvenience.

    The error you shared (Could not connect to SMTP host) usually occurs when using the Other SMTP mailer. It indicates that your mail server is refusing the SMTP connection.

    Please know that this error was returned from your mail server. So, you’ll need to contact your hosting provider with the error report. They should be able to advise you on why the connection is being refused and hopefully resolve it for you.

    I hope this helps. Thanks ??

Viewing 1 replies (of 1 total)
  • The topic ‘Failed to connect to server SMTP code: 111’ is closed to new replies.