Skip to main content
Code42 Support

Identify ports used by the CrashPlan app

Applies to:
  • CrashPlan PRO
  • CrashPlan PROe

Overview

This article provides information about identifying ports the CrashPlan app uses, including:

  • Finding the port used for communication with the CrashPlan service
  • Finding the port used for computer-to-computer backup

Using these ports can assist in troubleshooting connection issues between computers, and may be needed when adding CrashPlan as an approved application in your antivirus or security software.

Recommended solution

If you are using version 4.6.x or later of the CrashPlan app, follow the steps below to identify the ports used by CrashPlan. For versions 4.5.x and earlier, see the Alternative Solution below.

To display the ports used by the CrashPlan app:

  1. Open the CrashPlan app.
  2. Double-click the CrashPlan logo in the upper-right corner.
    The command-line interface appears.
  3. Enter the following command: connection.info
  4. Press Enter.

CrashPlan responds with the internal IP address and port information. For example:

connection.info
Address=127.0.0.1
Port=4242
UI Port=4243
HTTP Port=4244

The value for Port is used for computer-to-computer backup. The UI Port is used by the CrashPlan service. The HTTP Port is not used in version 4.x and earlier of the CrashPlan app.

Alternative solution

If you do not have access to the CrashPlan app, or you are using version 4.5.x or earlier, the port information can be obtained from your app.log file.

Locate the app.log

The table below shows the location of the app.log file for different operating systems.

  • Windows Vista, 7, 8, 10, Server 2008, and Server 2012: C:\ProgramData\CrashPlan\log
    To view this hidden folder, open a file browser and paste the path in the address bar. If you installed per user, see the file and folder hierarchy.
  • Windows XP: C:\Documents and Settings\All Users\Application Data\CrashPlan\log
    To view this hidden folder, open a file browser and paste the path in the address bar. If you installed per user, see the file and folder hierarchy.
  • OS X: /Library/Logs/CrashPlan
    If you installed per user, see the file and folder hierarchy.
  • Linux: /usr/local/crashplan/log
  • Solaris: /opt/sfw/crashplan/log

Find the computer-to-computer backup port

To locate the computer-to-computer backup port, navigate to the log folder and open the log with a plain text editor. Users who are comfortable with the command line may prefer to use the PowerShell or Terminal instructions below.

  1. Open the app.log in a plain text editor.
  2. Find the section labeled Inbound Backup.
  3. Locate the line Listen.
  4. Identify the port number.
    The port number appears after IP address, such as: 0.0.0.0:4242.

Windows PowerShell

The commands below require that you have Microsoft PowerShell installed.

  1. Open PowerShell.
  2. Run the following command: sls listen C:\ProgramData\CrashPlan\Log\app.log
    The file path may need to be adjusted based on operating system and/or whether the CrashPlan app is installed per user.

The command will result in an output like the example below.

C:\ProgramData\CrashPlan\Log\app.log:97:listenForBackup      = true
C:\ProgramData\CrashPlan\Log\app.log:100:listen               = 0.0.0.0:4242
C:\ProgramData\CrashPlan\Log\app.log:165:    <listenForBackup>true</listenForBackup>

The port number appears after the IP address, like: 0.0.0.0:4242. Port 4242 is the default value. The actual port number may vary.

OS X Terminal

  1. Open Terminal.
  2. Run the following command: grep listen /Library/Logs/CrashPlan/app.log
    The file path may need to be adjusted based on operating system and/or whether the CrashPlan app is installed per user.

The command will result in an output like the example below.

    listenForBackup      = true
    listen               = 0.0.0.0:4242
    <listenForBackup>true</listenForBackup>
The port number appears after the IP address, like: 0.0.0.0:4242. Port 4242 is the default value. The actual port number may vary.

Find the CrashPlan service port

To locate the CrashPlan service port, navigate to the log folder and open the log with a text editor. Users who are comfortable with the command line may prefer to use the PowerShell or Terminal instructions below.

  1. Open the app.log in a text editor.
  2. Find the section labeled Config File.
  3. Locate the line containing: <servicePort>4243</servicePort>
    Port 4243 is the default value. The actual port number may vary.

Windows PowerShell

The commands below require that you have Microsoft PowerShell installed.

  1. Open PowerShell.
  2. Run the following command: sls servicePort C:\ProgramData\CrashPlan\Log\app.log
    The file path may need to be adjusted based on operating system and whether the CrashPlan app is installed per user.

The command will result in an output like the example below.

C:\ProgramData\CrashPlan\Log\app.log:142:    <servicePort>4243</servicePort>

The port number appears after <servicePort>, like: 4243. Port 4243 is the default value. The actual port number may vary.

OS X Terminal

  1. Open Terminal.
  2. Run the following command: grep servicePort /Library/Logs/CrashPlan/app.log
    The file path may need to be adjusted based on operating system and whether the CrashPlan app is installed per user.

The command will result in an output like the example below.

    <servicePort>4243</servicePort>

The port number appears after <servicePort>, like: 4243. Port 4243 is the default value. The actual port number may vary.