TCP error code 10061: 由于目标机器积极拒绝,无法连接http://localhost:8732/Design_Time_Addresses/TeacherHelperServic

 

当我们在客户端添加WCF服务引用的时候出错,信息如下:

TCP error code 10061: 由于目标机器积极拒绝,无法连接

http://localhost:8732/Design_Time_Addresses/TeacherHelperServic

       无法连接到远程服务器,由于目标机器积极拒绝,无法连接。 127.0.0.1:8732/

 

可能原因:

1.相应服务端口未开启

2.某些TCP 监听服务没有开启

3. Client与Serivce配置不匹配

解决方法参考:

 

 1.查看防火墙设置。有没有打开服务端口,比如8732,没有的话添加服务端口为安全端口;

 2.检查服务托管进程是否启动,这个情况一般是针对自定义宿主来托管服务的情况,运行服务托管程序。

 3.也许Net.Tcp Listener Adapter等服务没有启动。Net.Tcp Listener Adapter是设置为自动启动的。

 

 

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Part 1 Introduction and Underlying Technologies 1 Chapter 1 Introduction 2 Chapter 2 The OSI Model and the TCP/IP Protocol Suite 18 Chapter 3 Underlying Technologies 46 Part 2 Network Layer 93 Chapter 4 Introduction to Network Layer 94 Chapter 5 IPv4 Addresses 114 Chapter 6 Delivery and Forwarding of IP Packets 160 Chapter 7 Internet Protocol Version 4 (IPv4) 186 Chapter 8 Address Resolution Protocol (ARP) 220 Chapter 9 Internet Control Message Protocol Version 4 (ICMPv4) 244 Chapter 10 Mobile IP 268 Chapter 11 Unicast Routing Protocols (RIP, OSPF, and BGP) 282 Chapter 12 Multicasting and Multicast Routing Protocols 334 Part 3 Transport Layer 373 Chapter 13 Introduction to the Transport Layer 374 Chapter 14 User Datagram Protocol (UDP) 414 Chapter 15 Transmission Control Protocol (TCP) 432 Chapter 16 Stream Control Transmission Protocol (SCTP) 502 viii BRIEF CONTENTS Part 4 Application Layer 541 Chapter 17 Introduction to the Application Layer 542 Chapter 18 Host Configuration: DHCP 568 Chapter 19 Domain Name System (DNS) 582 Chapter 20 Remote Login: TELNET and SSH 610 Chapter 21 File Transfer: FTP and TFTP 630 Chapter 22 World Wide Web and HTTP 656 Chapter 23 Electronic Mail: SMTP, POP, IMAP, and MIME 680 Chapter 24 Network Management: SNMP 706 Chapter 25 Multimedia 728 Part 5 Next Generation 767 Chapter 26 IPv6 Addressing 768 Chapter 27 IPv6 Protocol 786 Chapter 28 ICMPv6 800 Part 6 Security 815 Chapter 29 Cryptography and Network Security 816 Chapter 30 Internet Security 858 Part 7 Appendices 891 Appendix A Unicode 892 Appendix B Positional Numbering Systems 896 Appendix C Error Detection Codes 904 Appendix D Checksum 914 Appendix E HTML, XHTML, XML, and XSL 920 Appendix F Client-Server Programming in Java 926 Appendix G Miscellaneous Information 932 Glossary 935 References 955 Index 957

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值