Adding MSDTC Firewall Exception for Remote MES Middleware to Database Communication
- Last UpdatedMay 01, 2023
- 2 minute read
If the MES middleware service and the MES database are on separate nodes, the Microsoft Distributed Transaction Coordinator service (MSDTC) must be included in the Windows Firewall exception list on both nodes to allow them to communicate.
This procedure is based on Windows Server 2019; depending on what Windows version you are using, the steps and screens might be different.
-
On the node, navigate to the Windows Defender Firewall settings in the Control Panel.
-
Click the Allow an app through Windows Firewall link.

The Allow Apps settings and controls appear.

-
Click the Allow another app button.
The Add an app dialog box appears.

-
Click the Browse button, select the msdtc.exe file in the folder C:\WINDOWS\system32, and click Open.
The MSDTC service is added to the apps list.
-
Select the MSDTC service and click Add.

The MSDTC service is added to the apps list.

-
Click OK to close the Allow Apps settings and controls and save the addition of the MSDTC service to the exceptions list.