How to work with COM port in virtual machine – FlexiHub

Anna Brooks

Common problem:

Virtual environment offers a number of great benefits including server consolidation, increased utilization and faster recovery times after failure. A physical machine can host multiple virtual machines and all of them share computing resources thus increasing the usage of the hardware. However, there is one significant drawback to the virtual environment – there is no access to serial port in virtual machine. What do you do if you need to transfer data for debugging purposes or use an external serial device? Do not worry, there is an excellent solution to the problem, read below to find out more.

Work with COM in Virtual Machine with FlexiHub

Serial Port Emulation with the help of FlexiHub

FlexiHub is software that creates a client connection and redirects data from a serial port to the virtual OS. You thus get to use a device inserted in the port. FlexiHub is to be installed on both host and guest machines, and it is required to create an account to work with it. There are various subscription options available, and you’ll certainly find one that fits your requirements best.

How to use FlexiHub to access serial port in virtual machine:

  1. First, install it on the host machine, launch it and log in. Access serial port in Virtual Machine
  2. You will see a list of devices interacting with the system. To share a device in virtual environment use ‘Unlock’ button next to it.
  3. Now, it’s the time to install FlexiHub on the guest operating system, use the same login and password to log into the application.
  4. In the list of available devices displayed choose what you need and ‘Connect’.

That’s it – now, devices connected to the host’s serial ports are accessible to you in virtual environment. No further adjustments or setting configuration are required. You can manage serial ports from virtual machine in a simple and convenient way. FlexiHub is compatible with all major virtualization software, including Hyper-V, VirtualBox and VMWare.

Serial Ports in Hyper-V

With Hyper-V Manager it is impossible to know whether the host is equipped with serial ports or not.

This is how FlexiHub helps you access COM port in virtual machine:

  1. Establish a connection to the virtual machine, launch FlexiHub and click ‘Show Options’ button – to the left at the bottom.
  2. Navigate to ‘Local Resources’ tab, click ‘More…’ next to ‘Local devices and resources’ box.
  3. Tick ‘Ports’ checkbox.
  4. Sign into the virtual machine – ‘General’ tab, the host’s resources should be visible to you now.

Serial Ports in VMware

VMware virtual environment allows to work with local devices only if the user will make additional settings. Here’s how you can do it:

  1. In the virtual machine navigate to Settings
  2. Open ‘Hardware’ tab, choose ‘Add’
  3. Follow the instructions given and choose a serial port
  4. Your serial port’s output destination needs to be specified. A named pipe requires a certain amount of configuration.
  5. Selecting ‘Connect at power on’ option means a connection to the port will be established immediately when the virtual machine starts.
  6. Once you click ‘Finish’, you can start using the serial port right away.

As you can see, obviously, FlexiHub is the most simple way to access your serial devices plugged to the system. No additinal hardware needed.

FlexiHub

Requirements: Windows XP/2003/2008/Vista/7/8/10/Server 2012
Size: 5.61MB
Version: 3.0.10251 ()
User rating: (4.8 based on 78+ users )