Could not connect while connecting to wcf net.tcp service,TCP error code 10060

Server/Application Accessing net:tcp wcf service get the below error when firewall blocks source system accessing service from destination server: Could not connect to net.tcp://AbcService. The connection attempt lasted for a time span of 00:00:21.0139725. TCP error code 10060:

Error Information

Could not connect to net.tcp://servername:8001/PDFService with
tcp error code 10060
My application (running on 2012 server ) is consuming the net tcp service we go the below could not connect exception occurred

Error Message: Could not connect to net.tcp://server:8001//PDFService. The connection attempt lasted for a time span of 00:00:21.0139725. 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


one of the reason to get the error tcp error code due to firewall blocking the specific port on server while accessing the service.

our source server is highly secured with external firewall settings apart from server firewalls.
as our organization uses specific firewalls apart from the system firewalls where if application maintaining any credit card information, so by default these firewall not allow any external server , we have created
firewall exception to allow the 8001 port between source to destination server.

Need to open the port 8001 in firewall between source server to destination server to access the net.tcp service .
here in our case 8001 port, port can be changes based on your service configuration.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: