Share serial port over Ethernet - full guide


  1. Share COM port over ethernet
  2. Linux share serial port

Sharing COM port over network

There will come a time when you need to access a remote peripheral device from a computer that is not within physical range. This problem can be easily overcome with the use of Serial to Ethernet Connector. Serial to Ethernet Connector makes it possible to connect to a device attached to a remote server. Sharing a serial port over your network makes it possible to access any serial device in a variety of locations, regardless of physical distance.

Sharing COM port over network with the software

In order for a computer to access a shared device on the server, it must have Serial to Ethernet Connector installed. Serial to Ethernet will create a virtual port on the local machine (Client) that mirrors the remote one. Any device that is connected to the remote serial port will then be accessible to the Client machine.

Serial to Ethernet makes sharing a port over the network possible by creating a connection between the virtual and physical serial port. When the virtual port is opened, all data and signals are transferred between these two ports. The application accepts all the data as if the device was physically plugged into the computer's actual COM port.

How to share COM port - in three simple steps.

You might be asking yourself when you would ever need to share a COM port. A common use case would be a serial barcode scanner that needs to send data back to an application residing on a different machine on your network, or even over the Internet.

By creating a virtual connection to remote COM ports, Serial to Ethernet makes it possible for you to access any serial device or remote COM port as if it was physically connected to the computer. This is made possible through the use of RS232 to IP technology.

Try Serial to Ethernet Connector now
14-day free trial

Here are the simple steps to sharing a COM port with Serial to Ethernet Connector:

  1. Download and install Serial to Ethernet Connector on the Server machine (the server is the machine to which the physical device is attached) and all Client machines ( the client is the machine that requires access to the remote device).
  2. Start the application on the Server machine. Select the “Server connection” tab. Input your parameters accordingly and click “Create connection'.
  3. Launch the application on the Client machine and select the “Client connection” option. Configure your settings and click “Create connection”.

That's all it takes. Your client machines will now have full access to any remote COM port or serial devices that are plugged into the remote COM ports. All shared devices will appear in the Client machine's Device Manager.

Sharing serial to IP on Linux

If you're using Linux, you can make use of native commands to share remote serial ports. There are two options available. Option One requires you to make a new instance of the application for every new connection. Use the following command:

netcat www.example.com port /dev/ttyS0

Option Two will create a persistent connection:

service testservice { port = 5900 socket_type = stream protocol = tcp wait = yes user = root server = /usr/bin/netcat server_args = "-l 5900 < /dev/ttyS0" }

Make sure to change dev/ttyS0 to your specific serial port. Use stty or setserial commands to configure port parameters like baud rate, parity, stop bits etc.

Serial to Ethernet Connector

Requirements for Windows (32-bit and 64-bit): XP/2003/2008/ Vista/7/8/10, Windows Server 2016
Requirements for Linux: Kubuntu 9.10 “Karmic Koala”, openSUSE 11.2, 7.63MB free space , 4.66MB size , 4.58MB size
Version 8.0.1113 (1 Jun, 2020) Release notes
Category: Serial Port Software