Sometimes the Code42 app can't make an active network connection even if the Internet appears to be working. This is because the Code42 app relies on specific ports to be open. Telnet is a great tool for troubleshooting backups to online destinations. This article describes how to use the Telnet client to test connectivity on the correct ports to rule out any sort of issue with firewalls, anti-virus products, or other network issues.
What are ports?
Ports are specific gateways for Internet traffic to travel over. It's like a large hallway with many doors leading outside. If a door is locked, you cannot access the outside world. The Code42 app relies on specific doors to be open. These are different than your Internet browser requires. So if your email and YouTube work, but the Code42 app does not, you should make sure that the proper ports are open.
Before you begin
To use Telnet to troubleshoot a connection to a cloud destination, you need to know the destination's address. If you do not know the address for your destination, contact your administrator.
We are not creating an actual Telnet session, so you should be able to run the test even if Telnet access (TCP 23) is “blocked” on the computer.
Once you have the address and port, open a command prompt on the source computer.
- Install Telnet if it is not already installed. (Telnet is not installed by default on Windows or on macOS High Sierra 10.13.)
- Open the command prompt:
- Select Start.
- Choose Run or Search.
- Mac: Select Utilities > Terminal.
- Linux: Open Terminal.
- Enter the command:
telnet <address of destination port>
The Code42 app uses port 443 or 4282 to connect to online destinations. If you are unsure which port to include, test both.
telnet code42.com 443
If Telnet successfully connects, the following encrypted connection string (a bunch of unintelligible text) displays:
telnet code42.com 443 Trying 184.108.40.206... Connected to code42.com. Escape character is '^]'. ?cA-18782|com.code42.messaging.security.SecurityProviderReadyMessage??"???Q??????OM???`q?????N??6C:
If Telnet cannot successfully connect, you may see connection refused, no response, or some other response.
If the Telnet test passes, there probably isn't an issue with the network. However, some firewall and anti-virus applications are capable of blocking connections on a per-application basis, so make sure the Code42 app has an exception configured in your security software. If the problem continues, contact your administrator.
Install Telnet on Windows
Telnet is not installed by default in Windows; if you try to run it you will get the message "'Telnet' is not recognized as an operable program or batch file." To install Telnet:
- Click Start.
- Select Control Panel.
- Choose Programs and Features.
- Click Turn Windows features on or off.
- Select the Telnet Client option.
- Click OK.
A dialog box appears to confirm installation. The telnet command should now be available.
Install Telnet on Macintosh
Telnet is not installed on macOS High Sierra 10.13. To install Telnet:
- Paste the following into the Macintosh terminal prompt to install Homebrew, an open-source software package management system:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Run the following command in the terminal prompt to install Telnet:
brew install telnet