Job to the Linux Repository Fails with "No connection could be made because the target machine actively refused it xx.xx.xx.xx:2500"

KB ID: 2985
Product: Veeam Backup & Replication
Published: 2019-08-12
Last Modified: 2022-06-21
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

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.

Cause

This issue may occur if the Linux server has reached the limit of simultaneously opened SSH sessions.

Solution

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.

Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.