An attempt was made to access a socket in a way forbidden by its access permissions

[已解决] An attempt was made to access a socket in a way forbidden by its access permissions

20
[Web开发 > Silverlight]
使用Silverlight链接WCF服务(net.tcp)时,出现如下错误:

Could not connect to net.tcp://localhost:4503/Service. The connection attempt lasted for a time span of 00:00:02.2171268. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions.. 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.

跨域策略也已经做了,可是还是没有用,这是权限问题吗?
谁知道如何解决?
提问时间:2010/5/6 20:08:49 | 提问者:Souidea | 悬赏:20 | 浏览:2538
最佳答案
看看是不是防火墙把端口阻止掉了。
回答时间:2010/5/30 11:36:29 | 回答者:GaLiJiKuai
其他参考答案(0)
提交失败!请检查错误!错误信息:

注:以上所有信息由网友提供,仅供交流、参考,均不代表盛派网络言论,如果有任何问题或不妥,请立即联系我们