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"
also confirm that the network firewall profile doesn't change.
--please don't forget to upvote and Accept as answer if the reply is helpful--