To configure the port to autoconnect to a network node, navigate to the web interface of the unit and login as root.
Select:
Serial Ports option under the Configuration menu.
Choose the desired port and select Change Profile. Select the TCP Sockets option and click Apply.
Under the TCP Client Settings, select Automatically establish TCP connections and fill in the server IP address you are connecting to in the Establish connection to the following network service section.