I needed to change the RDP listening port on a Windows machine, just edit the registry key:

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

HTH