Override the default Open Platform Communications (OPC) client port
- Last UpdatedApr 24, 2025
- 1 minute read
The Open Platform Communications (OPC) Client is installed with the following, default TCP port configuration
-
64-bit OPCClient is port 7002
-
32-bit OPCClient is port 7003
Follow the procedure below to override the default configuration and use different port numbers.
To override the default port for one or both of the OPC Client services
-
Navigate to the following directory:
%DNAInstallRoot%\Tools\config\opcClient
-
Copy one, or both, of the following files to %DNADataRoot%\Tools\config\opcClient:
-
opcClientWS_x64.xml
-
opcClientWS_Win32.xml
-
-
Open one, or both, of the files for editing and change the port value = tag to the desired port number.
Note: Make sure that the two files do not share the same port number.
-
Open the standard Windows Run dialog box.
-
In the Run dialog box, enter services.msc.
The Windows Services dialog box opens.
-
In the Windows Services dialog box, locate the service titled opcClient.
-
Right-click on the service and select Restart.
-
In the Advanced Database Editor (ADE), open the the connection record(s) set up for the OPC Client and check that the port number(s) match(es) what is configured in the .xml file(s).