WCF的访问问题

foolfool 2009-11-26 04:21:02
网上下载一个wcf程序.
服务端在本地 ie 输入:http://localhost:8080/xxxxx/FilesService
可以访问而且客户端可以访问运行正常.

服务端放到 服务器(192.168.1.10)之后 用了 ie中 输入 http://192.168.1.10:8080/xxxxx/FilesService
却访问不到.

无法显示网页
您正在查找的页当前不可用。 网站可能遇到支持问题,或者您需要 调整您的浏览器设置。

服务器1.10上的其他网站是可以访问的
在服务器中用 http://localhost:8080/xxxxx/FilesService 也可以访问.
究竟是什么原因. 本人不熟悉 wcf 只是网上下载的.想用







<system.serviceModel>
<services>
<service behaviorConfiguration="DefaultBehavior" name="Fish.ServiceImpl.FilesService">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration ="StreamedHTTP" contract="Fish.ServiceInterfaces.IFilesLoad"></endpoint>
<host>
<baseAddresses>
<add baseAddress="http://localhost:8080/xxxxx/FilesService"/>
</baseAddresses>
</host>
</service>
</services>
...全文
77 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xisimao 2009-11-26
  • 打赏
  • 举报
回复
是用IIS配置的?服务端的宿主是什么?

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧