Veeam Backup and Replication is comprehensive data protection and disaster recovery solution which is capable of creating image-level backups of virtual, physical servers, cloud machines, and restoration as well. This article will discuss how to fix Failed to connect to Veeam Backup & Replication Server: No connection could be made because the target machine actively refused it. Please see Set up Veeam Backup for Microsoft Azure, and how to install Veeam Backup and Replication 11 Community Edition with a dedicated SQL Server.
When attempting to connect to the Veeam Backup & Replication server using the console, the following error may be prompted.
Here are some related articles: How to migrate Veeam MsSQL Database to a new MsSQL Server, Cloud Protection Manager:How to recover backup via N2WS Veeam CPM, Advantage of using a 3rd party software for Backup (N2WS by Veeam) over AMI, how to recover backup via N2WS Veeam CPM, how to implement N2WS Veeam Cloud Protection Manager (CPM 2.3.0d), how to stop Windows backup job via the Windows Server Backup utility(Wbadmin), how to setup Windows server backup and create backup jobs, and how to create a HyperV checkpoint.
Why was the error “Failed to connect to Veeam Backup & Replication Server” prompted?
You may encounter the following error below “Failed to connect to Veeam Backup & Replication Server: No connection could be made because the target machine actively refused it” when trying to run Veeam Backup & Replication tool.
There are numerous reasons for this and it is primarily due to the VBR services not running.
To fix this issue, kindly follow the steps below. Here is an article on how to install and configure Veeam Backup and Replication 11 Community Edition.
Fix “No connection could be made because the target machine actively refused it”
There are multiple causes for this failure to connect, such as firewall issues etc. In my case, the services weren’t running. To fix this, follow the steps below.
services.msc to see if the needed services are running. As we can see, the SQL Server Service isn’t running.
To resolve this, click on start or right-click on the service and click “start”.
Also, I noticed the Veeam Backup service and the Veeam Backup Service REST weren’t running as shown below.
I started both services and as you can see below, the two services are running.
Launch the Veeam Backup & Replication Tool and enter your credentials. I am currently connecting with my Windows session authentication. Click on connect when you are ready.
As you can see, Veeam is starting up and we should be able to access the console very shortly.
I hope you found this blog post helpful on how to fix Failed to connect to Veeam Backup & Replication Server: No connection could be made because the target machine actively refused it. If you have any questions, please let me know in the comment session.