...
BugZero found this defect 1855 days ago.
When multiple tasks are attempting to use the same Linux repository simultaneously, some connections may fail with the error: No connection could be made because the target machine actively refused it xx.xx.xx.xx:2500. The port shown in the error is a data transmission port, and may be port in the 2500-3300 range.
This issue may occur if the Linux server has reached the limit of simultaneously opened SSH sessions.
To resolve this, you may consider increasing the limit on SSH connections. For most Linux servers, this is configured in the, etc/ssh/sshd_conf file. Consider the following values: ClientAliveInterval 30 TCPKeepAlive yes ClientAliveCountMax 99999 MaxSessions 200 MaxStartups 100:30:200 After any sshd_conf values are changed, the SSHD service must be restarted to apply the changes. Keep in mind that restarting the SSHD service may interrupt existing SSH connections.