Change ports for Code42 app device upgrades
Who is this article for?
Instructor, no.
Incydr Professional, Enterprise, Gov F2, and Horizon, no.
Incydr Basic, Advanced, and Gov F1, no.
CrashPlan Cloud, no.
Retired product plans, yes.
CrashPlan for Small Business, no.
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 Code42 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 IP addresses and 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 |
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.
- Sign in to the Code42 console.
- Double-click the Code42 logo in the upper-left corner.
The command-line interface appears. - 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
- Press Enter.
- At the command-line interface, enter:
refreshUpgrades
- Press Enter.
Code42 server version 5.2 and earlier
Because port 4282 is no longer supported in the Code42 cloud, the following information for use of port 4282 is only applicable to those Code42 environments that use their own storage servers and do not use the Code42 cloud for data storage.
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 Code42 console includes port 4280, then upgrades may temporarily interfere with Code42 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.
- Sign in to the Code42 console.
- Double-click the Code42 logo in the upper-left corner.
The command-line interface appears. - 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
- Press Enter.
- At the command-line interface, enter:
refreshUpgrades
- Press Enter.
- 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 Code42 console includes port 4280, then upgrades may temporarily interfere with Code42 console performance. |
Change the upgrade port at the authority server's command-line interface.
- Sign in to the Code42 console.
- Double-click the Code42 logo in the upper-left corner.
The command-line interface appears. - 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
- Press Enter.
- At the command-line interface, enter:
refreshUpgrades
- Press Enter.
- Restart the Code42 server.