2011-03-23 87 views
0

我已创建使用计算器演示WCF客户端/服务器应用程序,如http://msdn.microsoft.com/en-us/library/ms734712.aspx如何配置从一台PC到另一台PC的WCF通信?

提到当我打开我的电脑(称为PC1)的WCF服务器,我可以使用Internet Explorer打开http://localhost:8000/ServiceModelSamples/Service

我现在试图从另一台PC(名为PC2)进行测试。因此将URI更改为http://PC1:8000/ServiceModelSamples/Service,并重新启动PC1上的WCF服务器。我可以从PC1打开页面http://PC1:8000/ServiceModelSamples/Service,但我无法从PC2打开该URL。它说没有找到页面。我已经使用ping命令检查了PC1和PC2之间的通信,它没有问题。

有人可以告诉我是否需要配置一些东西吗?

回答

相关问题