question

HumphreySimpemba-8665 avatar image
0 Votes"
HumphreySimpemba-8665 asked HumphreySimpemba-8665 commented

Redirected COM Port to Azure VM

Is there a way to redirect your local COM Port(Serial Port) to an Azure Windows VM? The option is there on the RDP Shortcut to enable it, but that doesn't work as the local COM Ports don't show on the VM.

azure-virtual-machineswindows-server-2016remote-desktop-client
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered HumphreySimpemba-8665 commented

The simplest solution may be to use a Comtrol or similar device. Captures and redirects the serial over ethernet. We used these in mining where the RS232 devices were miles away.

--please don't forget to Accept as answer if the reply is helpful--





· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DSPatrick thanks for your response, not sure how we will pick up that device on the Azure VM via Ethernet.
was that implementation on Azure?

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered HumphreySimpemba-8665 commented

It wasn't but basically you plug the hardware into the device then capture the redirected traffic from any where in the world assuming you can route the ethernet traffic. The NS-Link driver captures the RS232 via ethernet and presents it as a virtual com port on the receiving end.

Comtrol DeviceMaster RTS 1-Port is a single-port device server designed for network-enabling serial communications devices. When used with the included NS-Link™ driver software and a host PC, the DeviceMaster RTS enables placement of COM or TTY ports anywhere on an Ethernet network or across the Internet. In applications where connecting legacy serial devices to a PC without software changes is a requirement, a pair of DeviceMaster RTS units can be used to create a point-to-point serial tunnel across the network that seamlessly transfer serial data via TCP or UDP socket connections. This product is RoHS 2 Compliant under CE.


--please don't forget to Accept as answer if the reply is helpful--




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DSPatrick I see definitely that can work. Wish #Microsoft #Azure can just resolve this issue.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered HumphreySimpemba-8665 commented

No reason it couldn't work for any instance of windows.

--please don't forget to Accept as answer if the reply is helpful--





· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DSPatrick, thanks for your replies. I have found this to be helpful https://kb.parallels.com/123961. The device we wanted on the Server is picked up on the Server as serial port though it physically uses a USB port. So the remoteFX did the job and we now able to pick the Port on the Azure VM.

0 Votes 0 ·

This method works, the only unfortunate part is the Azure VM keeps picking up a different COM Port every time its connected via the remotefx solution. Is there a way I can keep the COM port static?/

0 Votes 0 ·