Rest calls failure
-
In my WordPress plugin, i’m calling an external Api. i deployed this plugin in multiple hostings but it works only on one of them. In others i get this error :
wordpress cURL error 7: Failed to connect to X.X.X.X port X after 1002 ms: Connection refusedWhy does this happen ? Is there something to configure or is this just because the hosting has some sort of security setting that block the request ?
ps 1 : the api is on a personnal server and i have no ssl certificate.
ps 2 : the wordpress instances are not hosted on the same company hosting service.
ps 3 : I have Only two plugins installed : woocommerce and my plugin (it’s a plugin for woocommerce)Thank you
The topic ‘Rest calls failure’ is closed to new replies.