简体   繁体   English

在.net智能设备应用程序上使用Web服务

[英]Consuming a web service on a .net smart device application

I am trying to consume a web service locally on a .net smart device application and getting this error:- 我正在尝试在.net智能设备应用程序上本地使用Web服务,并收到此错误:-

System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it System.Net.Sockets.SocketException:无法建立连接,因为目标计算机主动拒绝了它

Any suggestions.. 有什么建议么..

Probable causes: 可能的原因:

  1. Your emulator do not allow the connection 您的模拟器不允许连接
  2. The server is really not responding 服务器真的没有响应
  3. A firewall prevents the connection 防火墙阻止连接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM