COM port in Virtual Machine

Common problem:


Sometimes it happens that in the virtual environment we cannot work with serial ports, because virtualization software tools normally do not support their capacity. So what do we do if we need access to a serial device in a virtual machine - a modem, a scanner or a printer? Serial ports are also required when debugging applications.

If you or any application of the virtual machine you are working on has to access a serial port on a host operating system, try one of the following solutions.

Contents

Emulate Serial Port with Serial to Ethernet Connector


This third-party software is one of the easiest ways to connect to a serial port on a computer running Linux or Windows. The software will create a client connection by initiating data redirection from a serial port – local or real – to a remote server via TCP/IP protocol. The remote side does not need to have Virtual Serial Over Ethernet installed. You only need to specify the IP address or the network name of the remote server and the TCP port to which you want to connect. The client connection means that the data sent from the remote end will be received by a local serial port and processed.

To start working with a COM port, download and install the application, will display a list of available devices for you, find the one you need and connect to it.

Serial to Ethernet Connector

Serial to Ethernet Connector allows access to serial port in Hyper-V, VMWare, Citrix XenDesktop and other virtualization software.

Access Serial Port in Hyper-V

Hyper-V Manager never shows COM, so does not even know if have or no. To be able to work with serial ports is necessary to connect to the virtual machine, once the connection is established follow these steps:

  1. In the lower left corner of the application click on the button "Show Options".
  2. Go to the "Local Resources" tab
  3. Next to the "Devices and Local Resources" tab, click "More"
  4. Click on the "Ports" tab
  5. Log in the virtual machine on the tab "General".
The resources on the host computer must be visible to you in the virtual environment. Serial to Ethernet Connector

Work with Serial Ports in VirtualBox

To access a serial port in Virtual Box, you need to perform a couple of actions in the host virtual machine. No need to do anything in the host operating system.

Serial to Ethernet Connector

Here is what you need to do in the virtual environment – set up the serial port:

  1. Click on the "Serial port" tab and enter the Port/File path.
  2. Start your machine by checking the "Create Connection" box, if you do not check "Create Connection", an error message appears.
  3. Serial to Ethernet Connector
  4. Now you can start your second machine.

Work with COM Ports in VMware

To work with a serial port in VMware this is what to do::

  1. In the virtual machine go to "Settings";
  2. In the "Hardware" tab click on "Add";
  3. Follow the installation wizard and select a serial port;
  4. Specify if the serial port needs to send an output - if it is a named connection, be sure to configure it;
  5. "Connect to the Start" allows you to connect to the port when you start the virtual machine;
  6. Click on "Finish" to add the remote serial port to the virtual machine.
/ / COM port in Virtual Machine

Serial to Ethernet Connector

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