skip to navigation
skip to content

serial2tcp 0.5

Convert serial device to tcp socket.

Latest Version: 0.5.1


You can install from pip:

# pip install serial2tcp

or manual:

git clone git:// cd serial2tcp python install

Redirect USB-Serial

For redirect /dev/ttyUSB0 with baudrate 9600 bps and can connect to that:

# serial2tcp -p /dev/ttyUSB0 -b 9600 -l –allow-list=‘’


Usage: serial2tcp [options]

Simple Serial to Network (TCP/IP) redirector.

WARNING: You have to allow connections only from the addresses in the “–allow-list” option. e.g. –allow-list=‘,,’ NOTICE: This service supports only one tcp connection per instance.

--version show program’s version number and exit
-h, --help show this help message and exit
-p SERIAL, --port=SERIAL
 Serial port, a number, defualt = ‘/dev/tty0’
 Baudrate, default 115200
-r, --rtscts Enable RTS/CTS flow control (default off)
-x, --xonxoff Enable software flow control (default off)
-P PORT, --localport=PORT
 TCP/IP port on which to run the server (default 9100)
-l LISTEN, --listen=LISTEN
 Listen address on which to run the server (default ‘’)
 List of IP addresses e.g ‘,’

Based on:

File Type Py Version Uploaded on Size
serial2tcp-0.5.tar.gz (md5) Source 2014-03-28 3KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 47 downloads in the last week
  • 182 downloads in the last month