• Resolved mhartste

    (@mhartste)


    Hi,

    I have set up the Gmail SMTP Version 1.0.6 plugin. When I try to send a test email I get this error:

    Connection: opening to ssl://smtp.gmail.com:25, timeout=300, options=array ( ‘ssl’ => array ( ‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true, ),)
    SMTP ERROR: Failed to connect to server: Connection refused (111)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    I reviewed the troubleshooting section and tried TLS and SSL, and ports 465, 587, and 25. I logged into my email but I did not get any error saying “Your account has been hacked” or “Somebody stole your password”.

    I am running a hosted WordPress server on GoDaddy. Here is the server info:
    OS: Linux a2nlwpweb051.prod.iad2.secureserver.net 2.6.32-604.30.3.lve1.3.63.el6.nfsfixes.x86_64 #1 SMP Mon Oct 26 11:56:49 MST 2015 x86_64
    PHP version: 5.4.45
    WordPress version: 4.6.1
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available

    I spoke with GoDaddy support and they said they do not block access to external SMTP servers, so the roadblock is not on their end.

    Do you know why the test email would fail?

    Thanks!

    Mike

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

    (@naa986)

    Hi, You get this error on port 587 and 465 as well?

    SMTP ERROR: Failed to connect to server: Connection refused (111)

    If so those ports are definitely not open. GoDaddy has some weird limitation when it comes to SMTP. As far as I know they don’t allow external SMTP communication either (they have their own SMTP service).

    • This reply was modified 9 years, 6 months ago by Noor Alam.
    Thread Starter mhartste

    (@mhartste)

    Thanks for your reply, naa986.

    But I am able to use OAuth 2.0 with the Postman SMTP plugin on port 465, so I know that works. And I spoke with GoDaddy support and they said they do not block outgoing SMTP emails.

    Do you know why the test email would fail? Is there some way to get more info?

    Thanks!

    Mike

    Plugin Author Noor Alam

    (@naa986)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Connection refused (111) error’ is closed to new replies.