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).
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.
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
andYour 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.