The rdp defaul port is 3889.
To change this port :
WINDOWS FIREWALL
In windows firewall, create a windows inbound rule on this new port on windows firewall.
WINDOWS REGISTRY
- Start the registry editor. (Type regedit in the Search box.)
- Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
- Click Edit > Modify, and then click Decimal.
- Type the new port number, and then click OK.
- Close the registry editor, and restart your computer.