cURL not working

I am trying to use the function media_sideload_image to upload an image to Wordpress.
I get a cURL error
cURL error 7: Failed to connect

How can i fix this on the local site?


I have the same errror

The only workaround I found is not to use SSL. If you change your WP address from https:// to http:// then you’ll be able to connect with cURL.

There are many unanswered posts about this issue, so for now we gotta live with the workaround I’m afraid!

back to vvv for now :slight_smile: