我在我的本地主機模式項目(服務器端)使用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