Might try from PowerShell on both source and target. (use target address in both cases)
Test-NetConnection -ComputerName "192.168.49.142" -CommonTCPPort "RDP" -InformationLevel "Detailed"
--please don't forget to upvote
and Accept as answer
if the reply is helpful--