Configure the device using the Digi ConnectPort X Family web interface
Configuration through the web interface
Digi ConnectPort X Family
140
Automatic TCP connections (Automatic Connection)
The TCP Client allows the Digi ConnectPort X Family product to automatically establish a TCP
connection to an application or a network, known as autoconnection. You can enable autoconnection
through the TCP Sockets profile’s setting labeled
Automatically establish TCP connections
. When
you set the TCP Sockets profile, the DTR flow-control signal indicates when a TCP socket connection
has been established. You can use this information when monitoring the serial line. You can use it as a
flow-control mechanism to determine when the Digi device connects to a remote device establishes
communication. You can combine this mechanism with the DCD signal to close the connection and the
DSR signal to do RCI over serial. Together, you can use these signals to the Digi device to auto connect
to many devices, deterministically, on the network.
TCP and UDP network port numbering conventions
Digi devices use the following conventions for TCP and UDP network port numbering:
For this connection type...
Use this Port
Telnet to the serial port
The format for this port number is as follows:
20<serial port number>
Replace <serial port number> with the Digi serial
port number. For example, 2001 applies to serial
port 1, 2010 applies to serial port 10, and 2016
applies to serial port 16.
2001 (TCP only)
Raw connection to the serial port
The format for this port number is as follows:
21<serial port number>
Replace <serial port number> with the Digi serial
port number. For example, 2101 applies to serial
port 1, 2110 applies to serial port 10, and 2116
applies to serial port 16.
2101 (TCP and UDP)
The application or Digi ConnectPort X Family device that initiates communication must use these
network ports numbers. If you cannot configure the application or Digi ConnectPort X Family product
to use these network port numbers, change the network port on the Digi ConnectPort X Family
product.
RFC 2217
Use the RFC 2217 protocol to access serial devices over the network. RFC 2217 implementations
enable applications to set the parameters of remote serial ports (for example, baud rate or flow
control), detect line signal changes, as well as receive and transmit data. The configuration
information provided in this section applies to Digi device functioning as RFC 2217 servers. If using the
RFC 2217 protocol, do not modify the port settings from the defaults. If the port settings have been
changed, restore the factory default settings (see
). No additional
configuration is required.