COM port redirector extended tutorial 2019


Contents

  1.  Serial port redirector software
  2.  Serial to IP redirector technology

Serial redirector software (SEC guide)


Certain serial applications are designed to function properly only when connected to specific COM ports. In most cases, these are the standard COM1/COM2 or COM3/COM4 interfaces. This can pose a problem when your device needs to work with a designated port that is not available on your machine.

A solution to this issue is COM Port Redirector. You can create virtual serial interfaces with a serial port redirector that you can name in whatever manner your application requires. The virtual port provides the same functionality of a physical interface and receives and sends traffic redirected to and from the real port.

Serial Port Redirector is a software utility that allows you to redirect serial port data transferred over an IP-based network such as a LAN, WAN or the Internet. This enables any network-attached computer to gain full access to a remote COM port and its connected device. This serial/IP COM port redirector features a user-friendly and intuitive interface that simplifies the task of working with multiple open ports. You can use up to 500 ports simultaneously and can create three different kinds of connections. You can create a server to share a COM port, a client to connect to the server’s shared interfaces, and a connection to exchange data using the UDP protocol.

Redirecting serial port over a network is one of the primary uses of a COM port redirector. It increases the value of your peripheral devices by making them accessible to any user on the network. Serial over Ethernet Connector lets you redirect traffic for real and virtual COM interfaces. The application supports all versions of the Windows operating system as well as many virtual environments. You can use this TCP/IP serial port redirector on VMware, VMware ESX, and other virtual sessions. It supports the RFC 2217 extensions of Telnet, multi-processor systems, and hyper-threading.
Sec logo

Serial to Ethernet Connector

Connect serial ports over Ethernet
4.9 Rank based on 52+ users, Reviews(86)
Download 14-day fully-functional trial period
Serial to Ethernet Connector

COM port redirector user guide


  • First, download RS232 to Ethernet redirector and install it on the computer (server) with a physical COM port you want to share.
  • Launch the app on the server PC and select New connection -> Server connection. In the window that will open, name your connection, specify the serial port to be shared and a TCP port to listen on. Click “Create connection”.
  • Then, install the app on the client machine that will connect to the shared COM port over Ethernet. Select New connection -> Client connection and specify the server’s IP address and the TCP port you selected in the previous step.
  • Also, here you should create a virtual COM port by specifying a port name and checking the “Create as virtual port” option.
  • Click “Create client connection”.

Once you established a client connection, all data from the real COM port of your server computer will be forwarded to the specified virtual serial port on your client machine and vice versa.

Serial port redirector


A virtual serial port redirector should enable the virtual COM ports it creates to emulate the functionality of physical serial interfaces, for instance, to interact with a locally attached peripheral device. Creating the virtual port itself is not a complex task and can be performed by the same type of software that implements physical COM port drivers. The behavior of the device server and the network connections to it are issues that are more challenging and will be discussed below.

Serial port redirector

A serial IP port redirector allows the user to create and configure virtual COM ports which it uses to forward serial communication. Programs that open a virtual serial port rely on the redirector to establish a network connection to the IP address and TCP/UDP port number belonging to the remote equipment connected to the device server. Once the connection is made, the software relays the data stream between the device server and the virtual serial port.

It is common for a serial to IP port redirector server to allow at least 256 virtual interfaces to be active simultaneously. In practice, this number is often greatly reduced due to several limiting factors. The physical limitations of the device server such as its usable memory and the available network bandwidth will influence the number of connections you can run concurrently.

Most serial IP redirector software for Windows includes a graphical user interface that is used to create virtual serial ports and configure them for optimal functionality. The GUI will also often provide a display of the activity of the virtual ports as well as offering diagnostic capabilities.

Virtual serial port redirector


A virtual serial port can be seen as a form of COM port redirector that operates without dedicated network software support. Creating two virtual COM ports on the same computer enables legacy serial applications to communicate directly without resorting to other methods such as communicating over named pipes.

Serial over Ethernet Connector is an effective software solution that enables users to easily redirect serial port data transmission in a few simple steps. No extra hardware, cabling or configuration is necessary.
Sec logo

Serial to Ethernet Connector

Connect serial ports over Ethernet
4.9 Rank based on 52+ users, Reviews(86)
Download 14-day fully-functional trial period
Serial to Ethernet Connector

Serial port redirection software enables the user to control data flow by emulating signal lines (DTR / DSR / CTS / RTS / DCD / RI). You can customize the pinout and replicate all serial port parameters such as Baud rate, parity and stops bits to ensure compatibility with all of your serial applications and devices.

Emulating serial ports is extremely useful when faced with a lack of physical COM ports on a computer that needs to connect to a serial device. It can also enable you to establish communication between devices or applications without the need for additional physical connections requiring cabling or hardware.

Any serial program can make use of virtual serial ports to transmit data over a TCP/IP network. A complete client-server infrastructure can be implemented using virtual COM interfaces. The data sharing capabilities and multiple connections of the virtual infrastructure let any member of your organization access legacy serial devices no matter where they are located. Virtual ports can split data streams so that many applications can access the information simultaneously.

Open source alternative


SerialToIP is a serial port redirector freeware solution that provides the ability to connect to a serial port from a network using TCP socket communication. The tool can be used with either a command-line or graphical interface. The app is a simple implementation of Terminal Server software written in C#. Any TCP/IP network can be used to send and receive data from serial ports, including those of the USB variety.

SerialToIP

This COM port redirector is open source and is freely available to be modified to address your specifications. The open source nature of the project means that you get access to the serial port redirector code. The developers have made it point to provide working code that can be easily understood by other technicians with a knowledge of programming serial ports and sockets with C# and .NET. If you are looking for a basic and free serial port redirector, this solution is worth a look.

Serial to Ethernet Connector

Requirements: Windows 2000, Windows (32-bit and 64-bit): XP/2003/2008/ Vista/7/8/10, Windows Server 2012/2016 , 4.66MB size
Version 7.1.876 (27th Jan, 2017) Release notes
Category: Communication Application