My SQL Server instance is configured for unlimited number of connecting users (DB right click - properties - connections). But when my script tries to execute about 500 simultaneous queries a big part of the connections fail with error "Connection refused" from the server:
2017/03/10 15:11:47 ERROR: Unable to open tcp connection with host 'db.mydomain.ru:1433': dial tcp 10.100.20.3:1433: getsockopt: connection refused
In Events and SQL Server logs I didn't find anything useful. What can be a problem?
Thank you in advance!