WCF服务显示的是服务器名称而不是IP地址...

打开http://xx.xx.xx.xx:端口号/Service1.svc页面显示的服务地址为:
http://xx_yy_server:端口号/Service1.svc?wsdl

是显示的服务器的名称而不是IP地址...

原文地址:http://blog.csdn.net/cjq1234/article/details/8816921

<!--加上这个配置就可以了-->    
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
原文地址:https://www.cnblogs.com/love-zf/p/5779911.html