COM Port Windows guest VM to network
-
This isn't exactly an XCP-ng question, but I'm wondering if anybody has a solution here.
I'm looking to virtualize a Windows-based workload that's primary application uses a unidirectional (sending) communication over serial.
I would like to get a "COM" port on Windows that redirects to an IP address/port. I have a vague memory of doing this in Windows 95, and I know I can do it with printers in Win10/11, but I cannot for the life of me see a way to create an IP-based COM port in Windows 11.
I have a few of these systems and I need the application to use the "COM" port that would send to a piece of middle-ware (IP Address:Port) that will accept the incoming command, translate it to another format and send on to the final destination.
This seems like it should be doable.
-
-
@dinhngtu If I'm following that correctly, this opens up a TCP port on the XCP-ng host and connects it to the guest VM. I need to go the other way. I need a COM port in Windows that I can send to a TCP address:port on the network.
-
I think you're looking for a software like com0com (https://com0com.sourceforge.net/, see ReactOS for modern Windows versions https://reactos.org/wiki/Com0com), which has a com2tcp.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login