Configurethedeviceusing theweb interface Serial portsconfiguration
Digi Connect Family and ConnectPort TSFamily
90
Automatic TCP connections (Automatic Connection)
TheTCPClient allowsthe Digi Connect and ConnectPort TSFamily product to automatically establish
a TCPconnection to an application or a network, known as autoconnection. You can enable
autoconnection through the TCPSocketsprofile’ssetting labeled Automatically establish TCP
connections. When you set the TCPSocketsprofile, the DTRflow-control signal indicates when a TCP
socket connection has been established. You can use thisinformation 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 DCDsignal to close the
connection and the DSRsignal to do RCI over serial. Together, you can use these signalsto 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 conventionsfor TCPand UDPnetwork port numbering:
For this connection type... Use this Port
Telnet to the serial port
Theformat for thisport number isas follows:
20<serial port number>
Replace <serial port number> with the Digi serial
port number. For example, 2001 appliesto serial
port 1, 2010 appliesto serial port 10, and 2016
appliesto serial port 16.
2001 (TCP only)
Raw connection to the serial port
Theformat for thisport number isas follows:
21<serial port number>
Replace <serial port number> with the Digi serial
port number. For example, 2101 appliesto serial
port 1, 2110 appliesto serial port 10, and 2116
appliesto serial port 16.
2101 (TCP and UDP)
Theapplication or Digi Connect and ConnectPort TSFamily device that initiates communication must
use these network ports numbers. If you cannot configure the application or Digi Connect and
ConnectPort TSFamily product to use these network port numbers, change the network port on the
Digi Connect and ConnectPort TSFamily product.
RFC2217
Usethe RFC2217 protocol to accessserial devicesover the network. RFC2217 implementations
enable applicationsto set the parameters of remote serial ports (for example, baud rate or flow
control), detect line signal changes, aswell as receiveand transmit data. The configuration
information provided in thissection appliesto Digi device functioning as RFC2217 servers. If using the
RFC2217 protocol, do not modify the port settings from the defaults. If the port settingshave been
changed, restore the factory default settings (see Factory default settings). No additional
configuration is required.