How to solve connectivity problems between computers that use CodeTwo Outlook Sync
You experience connectivity problems between computers that use CodeTwo Outlook Sync.
Communication problems with CodeTwo Outlook Sync are usually caused by network problems. As a result, it is not possible to create a connection between two machines. Most problems can be solved by following the hints below.
- Make sure both computers are working in the same network
- Try adding the computers to the same workgroup
- Make sure that Network discovery and file sharing are turned on
- Change the ports if they are used by other programs
- Check if the same TCP/IP ports are configured in both applications
- Check if the TCP/IP ports are not blocked by a firewall or antivirus software
To check if there is a network connection between the two computers equipped with CodeTwo Outlook Sync, use the ping command:
Open the Windows Start menu and launch the Command Prompt (e.g. by typing cmd and pressing Enter).
In the Command Prompt, type the following command:
where <remote_computer_name> is the name of the other machine equipped with CodeTwo Outlook Sync.
For example, if the second computer is named DESKTOP-PC and you want to check the connection with it, type the following command:
If you do not have any problems establishing the connection with the DESKTOP-PC computer, the response should look as in Fig. 1. Otherwise, you will receive an error message such as Request timed out or Ping request could not find host DESKTOP-PC. Please check the name and try again.
The ping command can also be used to check the IP address of the remote computer. The address is displayed in the XXX.XXX.XXX.XXX format and can be used instead of the computer name to connect to the remote machine in CodeTwo Outlook Sync. If you are not able to obtain the IP address using the ping command, try typing ipconfig in the Command Prompt of the remote machine to learn its IP address - it will be displayed in the IPv4 Address line.
If you are still experiencing connection problems, we recommend adding both computers to the same workgroup. To add a computer to a workgroup, open your Windows Control Panel and go to System, find the Computer Name tab, and click the Change button. In the Member of section (Fig. 2.), select the Workgroup field and type the name of your workgroup. Approve by clicking OK. You need to make sure both computers are located in the same workgroup.
In case of further connectivity problems, it is also recommended to turn on some network features in Windows, such as Network discovery and File and printer sharing (if you have not enabled them when creating your network).
To turn on Network discovery and File and printer sharing, open Windows Control Panel, go to Network and Internet > Network and Sharing Center, open Advanced sharing settings, and expand the Network discovery and File and printer sharing options.
To unblock File and printer sharing in the Windows firewall, open the Windows (Defender) Firewall settings in the Control Panel, and allow File and Printer Sharing (in older Windows versions, you can do it on the Exceptions tab, as shown in Fig. 4.).
If you completed these steps but still cannot connect the two CodeTwo Outlook Sync instances to each other, make sure to restart both machines and reopen the applications before trying to establish the connection.
If the following error appears in the log file of CodeTwo Outlook Sync:
Only one usage of each socket address (protocol/network address/port) is normally permitted (0x2740)
it means that the TCP port used by CodeTwo Outlook Sync for communication (number 5998 by default) is being used by another program on the same computer. In that case, the number of the communication port used by the program needs to be changed. This can be done in the Advanced Settings window of the program.
The communication between both instances of CodeTwo Outlook Sync is done via the TCP/IP protocol, by using the port number defined in the program (5998 by default). Make sure that the port number specified in both applications is the same. The port used by the program can be viewed in the program's settings.
If some antivirus software or a firewall (e.g. Norton Internet Security) is installed on the computer with CodeTwo Outlook Sync, check if this software does not block the TCP port used by the CodeTwo program (default: 5998). To verify that, try turning off your antivirus software or firewall temporarily, and then try to establish a connection between your computers.