none
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:8085/TesWCs/TestService.svc. The connection attempt lasted for a time span of 00:00:21.0312472. TCP error code 10060: A connection attempt failed because the connected RRS feed

  • Question

  • While hitting WCF service from my client application ,i was getting below error

    System.ServiceModel.EndpointNotFoundException:
    Could not connect to net.tcp://localhost:8085/TesWCs/TestService.svc. The
    connection attempt lasted for a time span of 00:00:21.0312472. TCP error code
    10060: A connection attempt failed because the connected party did not properly
    respond after a period of time, or established connection failed because
    connected host has failed to respond 10.251.237.162:8085

    To resolve this issue tried below steps

    1. Verifed net.tcp port is listening using below command

       netstat /an | find /i "8085" 

    2. Verifed the NetTcpActivator service is running using below command

       sc start NetTcpActivator

    3. Verified the WCF net.tcp feature is enabled in control panel.

    4. checked WCF non-HTTP activation components is installed or not on my syetem

    http://msdn.microsoft.com/en-us/library/ms731053.aspx

    Friday, May 24, 2013 12:13 PM

Answers

All replies