I have a WCF service deployed in a console app with BasicHTTPBinding and SSL enabled. The following attribute is set as well:
[AspNetCompatibilityRequiremen
Or use this configuration in the client.
<system.net>
<connectionManagement>
<add maxconnection = "200" address ="*" />
</connectionManagement>
</system.net>
Here 200 is the limit from the client
I found a solution: there is a connection limit on ServicePointManager that was causing this problem. To remove this limit you just need to set
System.Net.ServicePointManager.DefaultConnectionLimit = X;
where the default limit is 2.