Hello there,
If you're using a firewall, make sure to configure your firewall to permit connections to the COM2.
For normal remote connection starting via mstsc command on Windows 10 client, the port redirection is accomplished by enabling the port redirection policy on the target server and then checking the port redirection option in mstsc.
Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection
"Do not allow COM port redirection"
"Do not allow drive redirection"
Similar discussion here https://learn.microsoft.com/en-us/answers/questions/100088/problem-redirect-port-com-on-windows-2012
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–