Hello!
If Windows Firewall is enabled on your computer, you will have to create a new rule that allows inbound connection to your new RDP port.
When you connect to your PC by using a Remote Desktop client, you're creating a peer-to-peer connection. This means you need direct access to the PC (sometimes called "the host"). If you need to connect to your PC from outside of the network your PC is running on, you need to enable that access. You have a couple of options: use port forwarding or set up a VPN. Remote Desktop - Allow access to your PC from outside your network | Microsoft Learn
I hope this information helps.
Best regards,
Karlie Weng