Skip to main content
Code42 Support

Changing Ports For Upgrading CrashPlan Devices

Applies to:
  • Code42 CrashPlan (previously CrashPlan PROe)

Overview

Changing the ports through which endpoint devices download CrashPlan upgrade files can solve some firewall and performance problems. The default values vary with the version of the app and the master server. This article describes how to use the administration console command-line interface to change the port.

Considerations

Selecting and changing the upgrade port

There are two likely reasons to change the default ports through which endpoints retrieve upgrade files from master servers:

  • The port is blocked at a firewall.
  • To avoid degrading performance of CrashPlan apps or master servers, especially in large-scale Code42 environments where hundreds or thousands of endpoints upgrade simultaneously.

Default port assignments and the commands for changing the ports vary among Code42 server and CrashPlan app versions. The following describes the default ports and the alternatives. For more information about ports in your Code42 environment, see TCP And UDP Ports.

Code42 server version 5.2 and earlier

Upgrading CrashPlan apps to version 4.x

Default port: 4282

4282 is the standard port for messages between Code42 servers and CrashPlan app devices and is open in almost all Code42 environments.

But using 4282 for upgrades may temporarily interfere with backups.

Alternative port: 4280

4280 allows faster service than 4282, and using it for upgrades will not interfere with backup messages between server and endpoints. 4280 is often preferable in large-scale Code42 environments.

But 4280 is often closed at firewalls for security reasons. If the URL for your administration console includes port 4280, then upgrades may temporarily interfere with administration console performance.

Change the upgrade port at the master server's command-line interface.

  1. Sign in to the administration console.
  2. Double-click the CrashPlan logo in the upper-left corner.
    The command-line interface appears.
  3. At the top of the command-line interface, enter one of these two commands:
    To use port 4280: prop.set b42.cpc.patch.useMessaging false save
    To use port 4282: prop.set b42.cpc.patch.useMessaging true save
  4. Press Enter.
  5. At the command-line interface, enter:refreshUpgrades
  6. Press Enter.
  7. Restart the Code42 server.

Upgrading CrashPlan apps to version 5.x

Default port: 4280

4280 allows faster service than 4282, and using it for upgrades will not interfere with backup messages between server and endpoints. 4280 is often preferable in large-scale Code42 environments.

But 4280 is often closed at firewalls for security reasons. If the URL for your administration console includes port 4280, then upgrades may temporarily interfere with administration console performance.

Alternative port: 4282

4282 is the standard port for messages between Code42 servers and CrashPlan app devices and is open in almost all Code42 environments.

But using 4282 for upgrades may temporarily interfere with backups.

Change the upgrade port at the master server's command-line interface.

  1. Sign in to the administration console.
  2. Double-click the CrashPlan logo in the upper-left corner.
    The command-line interface appears.
  3. At the top of the command-line interface, enter one of these two commands:
    To use port 4282: prop.set b42.cpc.patch.useMessaging2 true save
    To use port 4280: prop.set b42.cpc.patch.useMessaging2 false save
  4. Press Enter.
  5. At the command-line interface, enter:refreshUpgrades
  6. Press Enter.
  7. Restart the Code42 server.

Code42 server version 5.3 and later

Default port: web port

The web port is the port number in the URL you use to access the console. The default is 4285.

Using the web port for upgrades may temporarily interfere with console performance.

The web port is configured in the console at
Settings > Server > General > Website protocol, host and port.

Alternative port: 4282

4282 is the standard port for messages between Code42 servers and CrashPlan app devices and is open in almost all Code42 environments.

But using 4282 for upgrades may temporarily interfere with backups.

Change the upgrade port at the master server's command-line interface.

  1. Sign in to the administration console.
  2. Double-click the CrashPlan logo in the upper-left corner.
    The command-line interface appears.
  3. At the top of the command-line interface, enter one of these two commands:
    To use port 4282: prop.set b42.cpc.patch.useMessaging true save
    To use the web port: prop.set b42.cpc.patch.useMessaging false save
  4. Press Enter.
  5. At the command-line interface, enter:refreshUpgrades
  6. Press Enter.