wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

cURL error 7 in every install #41

Open stefanobartoletti opened 4 years ago

stefanobartoletti commented 4 years ago

I'm reporting an error that occurs on every installation, and that affects cURL: Error: cURL error 7: Failed to connect to localhost port 8010: Connection refused (http_request_failed).

This is reported also in the Site Health page, that can be accessed here on a fresh install: http://localhost:8010/wp-admin/site-health.php.

There are two entries on the report, namely The REST API encountered an error and Your site could not complete a loopback request that both list this cURL error as the cause.

If it matters, I'm on a Linux machine.


This is probably the cause of some php errors on my environment, where calling functions like file_get_contents result in errors and don't complete. It seems to be related to cURL.