Report this

What is the reason for this report?

WordPress WP-Cron cURL connection refused

Posted on February 27, 2017

I created a droplet from the WordPress One Click install option, set everything up, and tried to schedule a post. The schedule failed and after some digging I found the error message

cURL error 7: Failed to connect to <domain>.com port 443: Connection refused

I SSH’ed into the droplet and tried cURL and wget but I get the same result. I have no idea what’s wrong or how to fix it. Can someone please point me in the right direction?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@christophdemaskey

Since you’re on Ubuntu, run:

ufw status

That’ll tell you whether or not ufw is enabled and if it is, which ports are open on the server. If it’s not enabled, then the issue would be that you either don’t have SSL enabled (for your domain), thus it’s not returning a successful return code, or something else is preventing the connection.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.