It should work fine on Hyper-V also unless demo time(2 hour) not expired or if there is no any networking issue.
- 2 hour period can be reset by stopping and then starting the KEPServerEX
Please Check if you can Powershell Test-NetConnect to the device on the port KEPServerEX is trying to use.
Powershell has a built in commandlet that can help prove or disprove TCP socket connectivity
Command Syntax: Test-NetConnection [host] -Port [port number]
Example: Test-NetConnection 255.255.255.255 -Port 502
If these do not succeed this issue is networking.
Also check disabling ECN on 2019 windows server.Please refer below article to disable it
- When Explicit Congestion Notification (ECN) is enabled, some older devices will drop or reject the packets because of the manipulated header
https://www.ptc.com/en/support/article/CS278269
If you are prompted to log in to view the complete article, you can use your MyKepware login credentials.
If above won't work, I would recommend you to capture the traffic (packet) using tool Wireshark(free) and check why it is not working.
If the issue persists; I recommend opening a support ticket with the Kepware Technical Support team. Here is a link to the my kepware login page where a ticket can submitted:
https://my.kepware.com/s/login/