Donate SIGN UP

Webapplication Can't Access Wcf Service Deployed On Same Machine

Avatar Image
Epsicoder | 17:31 Wed 05th Sep 2018 | Technology
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
Gravatar

Answers

1 to 2 of 2rss feed

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.
I'm out of my depth here but googling 'wcf same machine' seems to bring up several links that look as if they might be of interest. Worth a try, perhaps?

I Googled Epsicoder,

1 to 2 of 2rss feed

Do you know the answer?

Webapplication Can't Access Wcf Service Deployed On Same Machine

Answer Question >>

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.