Unable to connect to the backup engine

New Page

Unable to connect to backup engine on devices with custom localhost address

  1. Last updated August 18, 2022
  2. save as pdf

Contents

  1. Overview
  2. Diagnostic
  3. Recommended Solution
    1. the Windows
    2. mac
    3. linux
  4. external resources
  5. Related Topics

Who is this article for?

Incydr Professional, Enterprise, Horizon and Gov F2

Incydr Basic, Advanced and Gov F1

Find your product plan in the Code42 console under the Account menu.

Instructor, no.

Incydr Professional, Enterprise, Horizon and Gov F2, no.

Incydr Basic, Advanced and Gov F1, yes.

Crash Plan Cloud, no.

Product plans retired, no.

CrashPlan for small businesses, no.

Overview

This article describes an issue where the Code42 application displays the message “Unable to connect to backup engine” if the localhost entries in your computer’s hosts file do not point to the default loopback IP addresses. The Code42 application cannot connect to the Code42 service if the localhost entries in its hosts file have changed.

To troubleshoot other causes of the “Unable to connect to backup engine” message, see Unable to connect to background service. 

Diagnostic

A modified localhost entry is likely the cause of this problem if all of these conditions are true:

  • The Code42 application displays the message “Failed to connect to the backup engine”.
  • The service.log of the Code42 application contains the message:

CPService is already running on localhost:4243

This message indicates that the Code42 application cannot connect to the Code42 service.

  • Your hosts file has been modified, either manually or by another application.

Recommended Solution

Be careful when following the steps below. Editing the hosts file should only be done by advanced users. If you have any concerns about this process, please contact our Customer Champions. Some versions of Windows also provide automated tools to restore default values ​​in your hosts file. See External Resources below for more details.

Back up your hosts file before making changes Before you follow the steps below to modify your hosts file, make a backup copy of the file so that you can easily undo your changes if they have unintended consequences. Also, adding a # to the beginning of any line tells the OS to ignore that line, but preserves the contents as a “comment” that you can refer to later. Saving original content as comments is useful if you need to roll back changes later.

the Windows

  1. Open the Windows Start menu and search for Notepad .
  2. Right-click on Notepad and select Start as administrator .
  3. Select File > Open and navigate to C:\Windows\System32\drivers\etc\host . The hosts file opens.
  4. Edit or remove the localhost entries so that only the following localhost addresses remain. DO NOT modify the other entries in the file. 127.0.0.1 localhost::1 localhost
  5. Save the file.
  6. Start the Code42 service.

mac

  1. Open the Finder.
  2. Go to Applications > Utilities and open Terminal .
  3. Enter the following command: sudo nano /private/etc/hosts If prompted, enter the administrator password.
  4. Edit or remove the localhost entries so that only the following localhost addresses remain. DO NOT modify the other entries in the file. 127.0.0.1 localhost::1 localhost fe80::1%lo0 localhost
  5. Press Ctrl+X to exit.

  6. Press Y to confirm changes.

  7. Press Enter to save to the existing location.

  8. Start the Code42 service.

linux

  1. Terminal open.
  2. Enter the following command: sudo nano /etc/hosts If prompted, enter the administrator password.
  3. Edit or remove the localhost entries so that only the following localhost addresses remain. DO NOT modify the other entries in the file. 127.0.0.1 localhost::1 localhost
  4. Press Ctrl+X to exit.
  5. Press Y to confirm changes.
  6. Press Enter to save to the existing location.
  7. Start the Code42 service.

external resources

  • Microsoft Support (Windows): How do I reset the Hosts file to its default?
  • Apple Support (Mac): Restore the original hosts file
  • StackExchange (Linux): restore /etc/hosts

Related Topics

  • Unable to connect to destination
  • Unable to connect to background service
  • Known conflicts with the Code42 app
  1. go back up
    • Unable to back up files (Windows)
    • Unable to open Zip file from web restore
  • Was this article helpful?
  • And it’s
  • Nope

recommended items

  1. Unable to connect to Backup Engine on devices with a custom localhost address (CrashPlan)This article describes an issue where the Code42 application displays the message “Unable to connect to Backup Engine” if the localhost entries of your co…
  2. Unable to connect to background service If you try to start the Code42 application and it displays the message “Code42 cannot connect to its background service”, this article may help you troubleshoot…
  3. Known Conflicts with the Code42 Application Antivirus software is designed to protect your system from unknown applications and unauthorized Internet activity. If your anti-virus software does…
  4. Read Code42 Application Log FilesThis article provides information about Code42 application log files, including: log file locations, brief descriptions of important log files, and how to…
  1. Article Type How-To Guide Available in CrashPlan Cloud Not Available in other on-premises product plans Not Available in Incydr Basic and Advanced Yes Available in Incydr Pro, Enterprise, and Horizon Not Available in Instructor Not Available in CrashPlan for Small Business No Stage Final
  2. Key words
    1. localhost
    2. unable to connect to backup engine


Video Unable to connect to the backup engine

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…