Modify System Communication Settings
Use
System Communication Settings
to select Socket.IO or DCOM for distributed system. When you select Auto
, the system prefers Socket.IO connection. If Socket.IO connection cannot be established, the system will use DCOM. When you select Socket.IO
, the system uses only Socket.IO connection. When you select DCOM
, the system uses only DCOM connection.To modify System Communication Settings
- In theFactoryTalk Administration ConsoleExplorerpane, go tolocalhost>System>Policies>System Policies.
- Double-clickSecurity Policy.
- InSystem communicationtype, selectAuto,Socket.IO, orDCOM.IMPORTANT:
- When working in a mixed system, for example, a server computer with FactoryTalk Services Platform version 6.31 or later and client computers with FactoryTalk Services Platform version 6.30 or earlier, you must useAutoorDCOMto ensure compatibility.
- When working in a system where the computers hosting the FactoryTalk-enabled software client and server have FactoryTalk Services Platform version 6.31 or later installed, you can useAutoorSocket.IO.Autoattempts to use Socket.IO first until that communication fails. Once Socket.IO communication fails, the system will switch to DCOM and stay at DCOM until the application is restarted.
- Communication between the FactoryTalk Directory Server and Clients that use DCOM is insecure. To ensure secure communications, there are two options:
- You can set theSystem communication TypetoSocket.IOto force the system to use only Socket.IO communications.
- If you cannot take this step, then you must raise the DCOM Authentication Level using by FactoryTalk-enabled products on all computers in the system to Packet Privacy using the FactoryTalk DCOM Authentication Level utility, or Windows group policy to change the FactoryTalk registry key, described in Rockwell Automation Knowledgebase Document ID: IN39470 - Mitigating Microsoft DCOM Hardening Patch (CVE-2021-26414) for Affected Rockwell Automation Products, to a value of '6' which equals Packet Privacy.
- InSystem communication protocol, selectPollingorWebSocket.
- WebSocket:It is a persistent TCP connection between a client and a server, which provides a real-time full-duplex communication channel.
- Polling:It is a discontinuous TCP connection between a client and a server, which provides a near-real-time data access pattern.Note:When the network is not stable, we do not recommend that you useWebSocketProtocol. Turning onWebSocket Protocolrequires the computer to be restarted.
This setting only affects the system whenSystem communication typeis set asAutoorSocket.IO. - InSystem communication port, enter the communication port for the computer hosting the FactoryTalk Web Event Server.
- SelectOKorApply.Be sure to restart the client computers and the FactoryTalk Directory server computer when you change a port or communication mode, for example, the System communication type: AUTO, DCOM, and SOCKET.IO.
Provide Feedback