How to Redirect Serial to Telnet? Serial toTelnet Windows and Linux guide

Olga Weis Olga Weis

Telnet is a TCP/IP protocol used to create connections to remote computers. It is also a user command, and by using Telnet, users or administrators have the ability to access remotely located machines. There are other protocols used on the Web, such as HTTP and FTP that allow you to make file requests from remote computers without logging in as a user of that machine. When using Telnet, you log in as a user of the remote machine and are granted those user’s privileges to applications and data that reside on it.

Telnet usage fields


The format of a Telnet command is as follows (use your actual computer name when connecting):

telnet your.remote.computer.name

After entering this command you would be presented with a login screen and need to provide a userid and password. If your credentials are correct, you are then logged in as if you were a local user.

Telnet is primarily used to satisfy the need to access designated applications or data that are located on a particular computer that is located remotely. Serial devices that are attached to a remote server can be accessed by using the Telnet RFC 2217 protocol. Examples of these devices are:

  • industrial monitoring devices such as water flow control monitors
  • medical monitoring equipment
  • serial printers and scanners
  • copiers, cash registers, and other serially attached equipment
A great Windows alternative to redirect Serial to Telnet is the software solution from Electronic Team - COM Port Redirector. The software lets you create an unlimited number of virtual COM ports in a system. No additional hardware, cables, or wires are required to connect to serial device over Telnet with this tool.

Sec logo
Serial to Ethernet Connector
4.9 Rank based on 243+ reviews, Reviews(243)
Download 14-day fully-functional trial period
Serial to Ethernet Connector

Serial to Telnet Windows Solution

Here is a great solution for Telnet serial port redirect on both client and server Windows machines. Serial Port Redirector is a software application that offers a Windows 10 telnet server alternative. It provides an easy path to connect to a remote computer using the TCP/IP protocol and supports the RFC 2217 Telnet extensions allowing COM port control. Follow these steps to create a Telnet IP client connection:

1
Select New connection → Client connection on the toolbar
 Select New connection
2
Specify the name for the new connection.
 Specify the name for the new connection
3
Select the local serial port that you will use for the connection.
4
When creating a virtual serial port simply Check the Create as virtual port option. Virtual ports can be created in any number and be named however you like. They act as if they were actual physical ports and fully emulate their setting while offering an advantage in transmission speed.

💡 Note: a virtual serial COM port can be named with the same name as an existing physical port.


The virtual port will “overlap” the real one in this situation, and the physical port will be inaccessible to other applications.
5
Enable Strict baudrate emulation if you are creating a virtual port and are planning to send large blocks of data of a size of 2 KBs or greater. This forces the baud rate of the virtual port to replicate that of the physical port and help minimize possible data loss.
6
Under Remote host name and Port specify the name or IP address and the listening port of the server(s) you are connecting to.
7
Configure any advanced settings that you need (more details in the next section).
8
Press Create connection to complete the process. That's it! Now you can forward serial port over network with this Serial Port Redirector.
 Select the local serial port

General connection settings:


  1. Open local real port only when connection is established – this option is available when you create a connection on a real telnet RS232 port. You can maintain this port’s availability for use by local applications when it is not connected to a remote machine. COM Port Redirector
  2. Connect to remote end only when local virtual port is open – this setting is used when the connection uses a virtual telnet serial port. When enabled, the local COM port must be opened by an application before any connection attempts are made.
  3. On error retry to establish connection every – when this option is chosen, retries of failed Telnet to COM connection attempts will be made based on a specified time interval.

Network protocol settings:


  • Raw data transmission protocol: Use of this transmission mode enable the establishment of a raw TCP session. All data is subsequently sent with no protocol-specific or application layer formatting.

  • Use Telnet protocol (RFC 2217):Telnet with RFC 2217 extensions allows server and client to exchange the telnet ip port configuration information. The remote end can be notified of changes made to the settings or the state of the local serial port.

  • RFC 2217 mode was originally designed to be used with modems, but can also be used for serial printers, scanners, laboratory monitoring devices, and office equipment.

Serial to Ethernet Connector allows you to forward serial port over network easily when using RFC2217. Use the instructions above and you can soon be working with serial devices over the network.

Looking for integration options?
Whether you're looking at redistributing our Serial port redirection engine as a part of your product or considering Serial over Ethernet software for an enterprise-wide deployment, we offer flexible and affordable corporate solutions designed to meet your needs.
Tech usb icon
Support for USB and serial port connections
Tech ports icon
Working with TCP, UDP, RDP, and Citrix protocols
Tech libs icon
Integration as DLL and ActiveX or Core level usage
Popup icon
Looking for integration options?
We offer flexible and affordable corporate solutions designed to meet your needs. Learn more

Serial to Telnet Issue

Let’s take a look at an application that utilizes a serially connected device, and employs a COM port, like a GPS reader.

We would like to be able to use a device connected to a computer (server) to be accessed by an application that is running on a network-connected remote computer (client). An example would be having a device connected to the small, single-board PC ODROID. After connecting the ODROID to the network, we want to read the device’s data on our local desktop.

If, as we suspect, the application must use a serial port to communicate with the device, then the client computer needs a virtual serial port for the application to use.

Then the application interacts with the client machine’s serial port and is not concerned by the fact that the data is being sent over the network.

The solution in theory


One of the solutions to this problem is to use Telnet with RFC2217 - Telnet Com Port Control Option. There are many software tools that supports Telnet+RFC2217 serial port forwarding, enabling you to run server and client machines on the Linux or Windows platforms. The interoperability of RFC2217 and Telnet means that a Linux server and Windows client can communicate using completely different software packages, as the underlying protocol is the same. You also have the ability to configure parameters, for example to multiplex the serial ports or enact data encryption when using RS232 to telnet. This solution helps to forward serial port over network without any problems.

Frequently asked questions

Telnet is a network text-only protocol that provides bidirectional interactive communications facility using virtual terminal connection. Telnet is the method that allows connecting to a remote computer over Internet and using programs and data as if they were on your local machine. User data is distributed in-band with Telnet control information in an 8-bit byte data connection over the TCP (Transmission Control Protocol).
Telnet was developed in 1969. It started as RFC 15, then extended in RFC 854, and standardized as Internet Engineering Task Force Internet Standard STD 8.

Before March 5, 1973, Telnet was an ad-hoc protocol with no official definition. On March 5, 1973, a Telnet protocol standard was defined at UCLA. In mid-2010, the Telnet protocol itself has been mostly superseded for remote login.
The term telnet may also mean the software implementations of the client part of the protocol. Telnet client applications are available for virtually all computer platforms. Sometimes telnet can be used as a verb: to telnet is to establish connection with the Telnet protocol.
There are a number of text-based games available through Telnet. Enterprise networks to access host applications, e.g., on IBM Mainframes. For many years, multiple library catalogs were only reachable through Telnet, though you will hardly find ones now. There was Delphi's Internet service, the first nationwide Internet service publically available, but it closed Telnet access in 2001. Mobile data collection applications where Telnet runs over secure networks.
small logo Serial to Ethernet Connector
#1 at Serial Port Software
Serial to Ethernet Connector
Access remote serial port over IP Network for Windows
4.7 rank based on 243 reviews
Get a download link for your desktop
Submit your email address to get a link for quick download on your desktop and get started!
or