Change remote desktop server port number

Open regedit.exe and browse to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

Change value to desired port and reboot computer. Just make sure the port you select isn’t already used by something else.