For server port mode
- Last UpdatedApr 24, 2025
- 2 minute read
Follow this procedure if TCPListener and the listening system connect to one another using the Server Port method.
To configure the TCPListener Extended Markup Language (XML) file for server port mode
-
Start TCPListener.
-
Select View Configuration And Log.
A notepad file opens showing the default configuration file.

-
In the <TcpReTransmissionEnabled> section, replace No with Yes if you want to forward the packets of "TCP Retransmission" to the Listen Only system.
Note: If left as "No", or if the line is deleted, no packet forwarding occurs.
-
In the following line, change the port number to the desired Listen Only connection port number:
<WritePort>10321</WritePort>
-
Delete the <RelayService> section.
-
In the <Filter> section, configure the packet from the Remote Terminal Unit (RTU) to AVEVA Enterprise SCADA as indicated:
-
<SourceIP>172.22.26.24</SourceIP> โ Enter the IP address of the RTU.
-
<SourcePort>10001</SourcePort> โ Enter the port number of the RTU.
-
<DestinationIP>172.22.26.218</DestinationIP> โ Enter the IP address of the host.
-
<Roundway>Yes</Roundway> โ To additionally capture the reverse traffic of the filter (in other words, from AVEVA Enterprise SCADA to the RTU), replace No with Yes.
When TCPlistener encounters one packet with the configured SourceIP, SourcePort, and DestinationIP, it forwards the packet to the Configured Port.

-
-
For additional connections:
-
Copy the <WriteInterface> section.
-
Paste the copied section just before the closing of the <NetworkListener> section.
-
Update the new <WriteInterface> section as per steps 4 and 6 above.
Note: Ensure the <WritePort> numbers are unique.
-
Repeat the above steps for additional connections.
-
-
Save the file to a folder with write permissions (for example, %DNADataRoot%\Tools\config).
-
Select (...) next to the Configuration file field to navigate to the location of the new file, and select the new configuration file created.