How to solve connectivity problems between computers that use CodeTwo Outlook Sync

Problem:

You experience connectivity problems between computers that use CodeTwo Outlook Sync.

Solution:

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.

  1. Make sure both computers are working in the same network
  2. Try adding the computers to the same workgroup
  3. Make sure that Network discovery and file sharing are turned on
  4. Change the ports if they are used by other programs
  5. Check if the same TCP/IP ports are configured in both applications
  6. Check if the TCP/IP ports are not blocked by a firewall or antivirus software

Connect both computers to the same network

To check if there is a network connection between the two computers equipped with CodeTwo Outlook Sync, use the ping command:

  1. Open the Windows Start menu and launch the Command Prompt (e.g. by typing cmd and pressing Enter).

  2. In the Command Prompt, type the following command:

    ping <remote_computer_name>

    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:

    ping DESKTOP-PC

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.

504
Fig. 1. Checking the connection with a remote computer via the ping command.

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.

Add the computers to the same workgroup

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.

424
Fig. 2. The computers must be in the same workgroup.

Network discovery and file sharing must be turned on

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 InternetNetwork and Sharing Center, open Advanced sharing settings, and expand the Network discovery and File and printer sharing options.

427
Fig. 3. Network discovery and file sharing must be enabled.

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.).

465
Fig. 4. Enabling File and Printer Sharing in the Windows XP firewall.

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.

Change the ports if they are used by other programs

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.

Check if the same TCP/IP ports are configured in both applications

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.

Check if the TCP/IP ports are not blocked by a firewall or antivirus software

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.