How to access COM1, COM2, … serial ports in Windows Subsystem for Linux (WSL)?

Accessing serial ports in WSL is really simple:

  • COM1 is mapped to /dev/ttyS1
  • COM2 is mapped to /dev/ttyS2
  • COM3 is mapped to /dev/ttyS3
  • COM4 is mapped to /dev/ttyS4