cURL Error Number 7

Plugins use cURL internally to make request to Instamojo API.

If for some reason plugin is unable to connect to Instamojo then it will show you Error number 7.

This error could be due to:

  • Port 443 being blocked for outgoing connections on your server.
  • A firewall setting is not allowing external requests
  • You don't have permissions to make HTTP(s) requests.
  • In rare cases it could be due to Instamojo servers being down. But this case is extremely unlikely and if you're seeing the error continuously then this is most probably not the reason.

Resolution for this is that you should reach out your server admin and ask them to allow outgoing connections from cURL.

 

More information about this error can be found at:

  • https://curl.haxx.se/libcurl/c/libcurl-errors.html
  • http://stackoverflow.com/questions/9922562/how-to-resolve-curl-error-7-couldnt-connect-to-host
Start Exploring
Was this article helpful?
2 out of 3 found this helpful
Have more questions? Submit a request