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

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

WBOY
Release: 2016-06-13 10:28:34
Original
970 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template