我在我的本地主机模式项目(服务器端)使用WCF Web服务,它工作正常如何连接到WCF的Web服务内部局域网
现在我需要从另一台机器连接到这个服务相同的本地网络
我应该在客户端的配置文件中更改哪些内容?
我将客户端的端点更改为包含本地服务器且无法连接的计算机的IP!
<endpoint address="http://10.131.40.22:8732/Design_Time_Addresses/WcfServiceLibrary_Test/Service1/"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_RepositoryManager"
contract="onlineExchangeCenter.RepositoryManager" name="WSHttpBinding_RepositoryManager">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
我还怀疑防火墙阻止了您尝试使用的端口。 – tofutim 2011-05-22 08:04:08