SOAP request from remote Linux server is not working

  • Answered
Please I need your help:
I am trying to connect to and make a SOAP request from a remote Linux based web server and this the error message that displays:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from

'' : failed to load external entity
"" in /home/username/public_html/api/transflow_sw.php:26

Stack trace:
#0 /home/username/public_html/api/transflow_sw.php(26): SoapClient->SoapClient('http://68.169.5...', Array)
#1 {main} thrown in /home/username/public_html/api/transflow_sw.php on line 26.

What is the way out? The strange thing, however, is that it works perfectly when I made the request from the localhost.

Thank you for your question about using SOAP to connect between servers. Have you tried a test connection not using SOAP to make sure that the servers are able to connect successfully? What port are you connecting to the destination server with?

Casey B.