Skip to main content

Who is this article for?

Code42 for EnterpriseSee product plans and features
CrashPlan for Small Business 

CrashPlan for Small Business, yes.

Code42 for Enterprise, yes.

Link: Product plans and features.

Code42 Support

Change ports for Code42 app device upgrades

Who is this article for?

Code42 for EnterpriseSee product plans and features
CrashPlan for Small Business 

CrashPlan for Small Business, no.

Code42 for Enterprise, yes.

Link: Product plans and features.

Overview

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

Considerations

  • For the standard instructions for upgrading your Code42 apps, see Upgrade the Code42 apps in your environment.
  • We recommend testing the upgrade on a single device before enabling automatic upgrades for all of your devices.

Select and change the upgrade port

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

  • The port is blocked at a firewall.
  • To avoid degrading performance of Code42 apps or authority 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 Code42 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 used by the Code42 platform.

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: 4287

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

 

But using 4287 for upgrades may temporarily interfere with backups.

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

  1. Sign in to the administration console.
  2. Double-click the Code42 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 4287: 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.

Code42 server version 5.2 and earlier

Upgrade Code42 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 Code42 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 authority server's command-line interface.

  1. Sign in to the administration console.
  2. Double-click the Code42 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.

Upgrade Code42 apps to version 4.x

Default port: 4282

4282 is the standard port for messages between Code42 servers and Code42 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 authority server's command-line interface.

  1. Sign in to the administration console.
  2. Double-click the Code42 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.