• I downloaded the WP Cron Status Checker, and I get this error.

    While trying to spawn a call to the WP-Cron system, the following error occurred:
    couldn’t connect to host

    What does it mean, and how do I fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    The error is very explicit. It means Failed to connect() to host or proxy.

    Either your URL is wrong or you have some firewall or restriction issue.

    Most commonly this error has been seen on CentOS and any other OS with SElinux.

    You need to either disable or change SElinux to permissive

    Have a look on this one

    http://www.akashif.co.uk/php/curl-error-7-failed-to-connect-to-permission-denied

    Hope this helps!

    Thread Starter Prettiful Blog

    (@prettiful-blog)

    I updated to the latest version of WordPress and now the error is

    While trying to spawn a call to the WP-Cron system, the following error occurred:
    cURL error 7: couldn’t connect to host

    Can I fix it myself, or do I need a developer to do it?

    It’s definitely a server related issue.

    Ask your Web Host to either disable or change SElinux to permissive and provide them the error log, they would be able help you setting up correct permissions, so you can safely update wordpress to latest edition without any errors.

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

The topic ‘Cron cannot connect to host’ is closed to new replies.