couldn't connect to host via xmlapi api1_query function
I'm struggling to find out what is causing the following error message, when I try to create a new database via the xmlapi function $createdb = $xmlapi->api1_query($cpaneluser, "Mysql", "adddb", array($databasename)):
Fatal error: Uncaught exception 'Exception' with message 'curl_exec threw error "couldn't connect to host" for
-
Hello :) I suggest checking the firewall on the remote server to make sure the source server is not blocked. You may also want to whitelist the IP address of the source server. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment