解决问题:error code 10013: 试图以其访问权限所禁止的方式访问套接字

错误描述:

Could not connect to net.tcp://192.168.4.206:4510/Server. The connection attempt lasted for a time span of 00:00:00. TCP error code 10013: 试图以其访问权限所禁止的方式访问套接字。. This could be due to attempting to access a service in a cross-domain way while the service is not configured for cross-domain access. You may need to contact the owner of the service to expose a sockets cross-domain policy over HTTP and host the service in the allowed sockets port range 4502-4534.

原因是:跨域访问所导致.

经检查,一开始丢在C:\Inetpub\wwwroot下的ClientAccessPolicy.xml文件不能被读取到,原因是80端口的网站被指向于非"wwwroot"之下的其它网站目录下,为了能讯速解决此办法,将ClientAccessPolicy.xml重新拷贝到80端口网站的根目录之下得以解决问题.

 

 

转载于:https://www.cnblogs.com/xk2011/archive/2012/06/19/2554827.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值