Home  >  Article  >  Backend Development  >  为啥在服务器上面调用始终是unknown host

为啥在服务器上面调用始终是unknown host

WBOY
WBOYOriginal
2016-06-13 13:27:011207browse

为什么在服务器上面调用始终是unknown host
我在访问外部webservice的时候,在其他地方都是对的,但是一拿到服务器就出现unknown host!!
是不是设置了什么东西!??
怎么解决啊?

------解决方案--------------------
以前也遇到过这方面的问题,解决办法有
1.用nosoap
2.把服务ip加入服务器host
3.直接下载wsdl文件到服务器 本地调用
一个一个试吧

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn