[英]How to access webservice hosted in lIS from LAN connected Other PC?
我創建了一個托管在IIS中的Web服務,現在我想從連接LAN的PC訪問或調用該Web服務。
所以請幫幫我。
我嘗試過的事情是:
Ping檢查連接
我嘗試使用IpAddress從其他PC訪問它-我遇到了類似的錯誤-
例如: http://192.168.100.157/NewWebservice/WebService1.asmx
: http://192.168.100.157/NewWebservice/WebService1.asmx
嘗試在配置文件中添加以下代碼:
<client>
<endpoint address="http://192.168.100.157/NewWebservice/WebService1.asmx" binding="basicHttpBinding"
contract="ClassABC" bindingConfiguration ="httpBinding"
name="BasicHttpBinding_IABC" />
</client>
確保在Windows防火牆(內置)或該IIS計算機上安裝的任何其他防火牆解決方案中打開端口80。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.