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!
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.