问题描述
我已经按照以下链接中介绍的步骤创建了WCF服务.然后,创建Windows服务并安装WCF服务.已成功安装.但是,当我将WCF服务添加到测试客户端Windows窗体"项目中时,它引发错误为"TCP错误代码10061:无法建立连接,因为目标计算机主动拒绝它127.0.0.1:8732.".
我在Google中进行搜索,发现许多与"TCP错误代码1061"相关的主题,但没有一个解决了我的问题.任何人都可以帮助解决此问题吗?
问候
链接
I have created a WCF service just following the steps presented in the following link. Then, created a Windows service and installed the WCF service. It has been installed successfully. However, it throws error as "TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8732. " when I was adding the WCF service to a Test Client Windows Form project.
I have searched in Google and found many topics related to the "TCP error code 1061" and none of them solved my issue. Can anyone help to solve this issue?
Regards
Link
推荐答案
这篇关于WCF服务-添加服务参考错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!