Here is my problem: I'm developing a Symfony project which accesses telephony and email data from OVH API. Since I'm working in local, I've never met any problems, the API connection was working and I could recover all data.
Yesterday I deployed my project online on an OVH hosting, and when I launch a command from the SSH panel, I get cURL error 7.
The problem doesn't come from the API because I call it in my Controller and I don't get any errors.
My command is :
(php/5.6/production/) ~/www $ php bin/console converseo:updateTelephony
And the error I get :
[GuzzleHttp\Exception\ConnectException]
cURL error 7: Failed to connect to 213.186.33.117: Network is unreachable (
see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I don't know why this command works on localhost and in my controller, but doesn't work online.