No connection could be made because the target machine actively refused it

I am running a stress testing. Lets say I have 2 services A and B. Service A is sending a request to service B. Service A is sending around 50000 times in a loop and the request is invoked in a separate routines so that the subsequent request are sent quickly. After sending around 5000 requests the Service A is getting “connectex: No connection could be made because the target machine actively refused it.” error. What is the limitation that is causing this issue, Is there a way I can increase the limit on OS or service level.

Please let me know if you want more clarity

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.