WCF could not connect to net.tcp ... wcf TCP error code 10061

Source: Internet
Author: User
Tags error code

1. Background: After building a nettcpbinding service, the service can be invoked normally with wcftestclient, and after the client invokes the service, an exception is thrown.

2. Exception information: Could not connect to net.tcp ... wcf TCP error code 10061.

3. Solution: Client configuration file

(a) Check whether the port is restricted or occupied.

(b) Determine whether the service was started at debug time (set in the Project tab of the WCF service, the last setup option, checked).

4. Questions and Answers:

Network error code 10061: The connection could not be established because the target host is actively rejecting it. This is typically because an attempt is made to connect to a service that is not active on a remote host, such as if no server application is in execution state.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.