#1 Global Leader in Data Protection & Ransomware Recovery

Client error: Can't find free port - Error: Timed out requesting agent port for client sessions.

KB ID: 1922
Product: Veeam Backup & Replication
Published: 2014-08-22
Last Modified: 2022-10-05
mailbox
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

A job fails with one of the following errors:

Client error: Can't find free port

User-added image

Error: Timed  out requesting agent port for client sessions.

User-added image

Cause

These errors may occur because either:

  • A firewall prevents the remote machine from initiating communication on one or more of the assigned transmission channel ports, causing the process to increment the port it attempted to use until it exhausted the list of ports it was given.

    or
  • A Managed Server (Windows or Linux) has had its default configuration altered so that the range of ports it would use is insuffucient, causing the process that is trying to start not to be able to find an available port to use.

    Here is an extreme example where the Managed Server has been configured only to allow two ports to be used:
    User-added image



Solution

Check Firewalls

Review the firewalls present in the environment to ensure accommodations have been made for the ports used by Veeam Backup & Replication.

 

Check Managed Server Configuration

The default range of transmission channel ports is available in the Used Ports section of the user guide.

  1. Within the Veeam console, click Backup Infrastructure
  2. From the tree on the left, expand ‘Managed servers’ and select ‘Microsoft Windows’
  3. On the right side, select the server related to the issue
  4. In the menu at the top of the screen, click Edit Server
  5. On the ‘Credentials’ tab, click the button labeled [Ports…]
  6. Within the network settings dialog, verify that either the default or an appropriate number of ports have been assigned.
  7. Click OK to confirm the settings.
  8. Click Finish to commit the changes to that server.



To submit feedback regarding this article, please click this link: Send Article Feedback
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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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.