Reputation: 477
I'm struggling to get SOAP working on server locally. It's running on server and from my local PC I can use it, but when I'm using ssh to the server (both PC on linux) php gives me the error:
Error occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://192.168.1.2:8080/WebServices/SetValues?WSDL' : failed to load external entity "http://192.168.1.2:8080/WebServices/SetValues?WSDL"
I tried Lynx locally from server and it's working fine. So problem is somewhere in PHP, SOAP...
Upvotes: 1
Views: 1370
Reputation: 477
setsebool -P httpd_can_network_connect 1
SE Linux was my problem!!! If anything happens with networking (even locally) blame SE Linux or firewall.
Upvotes: 1
Reputation: 2499
Is your server binded to local (127.0.0.1)? Try to bind to 0.0.0.0
Upvotes: 0