News1 min ago
Webapplication Can't Access Wcf Service Deployed On Same Machine
2 Answers
We have a WebApp & WCF service running under AppPools A1(using service account User1) & A2(using service account User2) respectively. While webapp is trying to connect to wcf service, we are getting following error System.Net.Sockets.SocketException: 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
The only way I can make webapplication access the wcf service is if I m logged in to the web server using the service account User2. Once the service account user logs off the server, the same error appears.
Here is the web server/app configuration .NET version : v 4.0 IIS : 10.0.14393.0 OS : Windows Server 2016
The only way I can make webapplication access the wcf service is if I m logged in to the web server using the service account User2. Once the service account user logs off the server, the same error appears.
Here is the web server/app configuration .NET version : v 4.0 IIS : 10.0.14393.0 OS : Windows Server 2016
Answers
Best Answer
No best answer has yet been selected by Epsicoder. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.