SoapFault exception: Could not connect to host

后端 未结 27 1545
-上瘾入骨i
-上瘾入骨i 2020-12-01 07:47

Sometimes fail to call the web service.

This problem happens all the time.

What could be the problem?

Error:
    SoapFault exception: [HTTP]          


        
27条回答
  •  伪装坚强ぢ
    2020-12-01 08:10

    If you have a firewall on your server, make sure to open the port used by SOAP.

    In my case, I had to open the port 1664.

    iptables -t filter -A INPUT -p tcp --dport 1664 -j ACCEPT
    iptables -t filter -A OUTPUT -p tcp --dport 1664 -j ACCEPT
    

提交回复
热议问题