To modify the port number of a remote Desktop connection
SOURCE http://www.qscn.net/%E7%BD%91%E7%AB%99%E8%BF%90%E8%90%A5/156.html
1 start 3389 remote control on the server, that is, select "Add Remove Programs" in Control Panel "Add Remove Windows Components", locate "Terminal Server" to restart the computer after installing it to complete remote control startup work.
2 Open the Registry Editor on the server through the taskbar, "Start-to-run, enter Regedit".
3 hkey_local_machine\system\currentcontrolset\control\terminal Server\wds\repwd\tds\tcp found in the registry , Change the PortNumber value below from 3389 to 21, paying attention to the difference between 10 and 16 binary numbers.
4 hkey_local_machine\system\currentcontrolset\control\terminal Server\winstations\rdp-tcp found in the registry , Change the PortNumber value below from 3389 to 21, paying attention to the difference between the 10 and 16 binary numbers. All of the settings on the server have been completed by restarting the server after all modifications.
The modified Remote Desktop can only be accessed in a similar ip:21 way, such as a company IP address of 202.91.75.101, then the Remote Desktop access at home needs to fill in the address 202.91.75.101:21 to connect, But the connection speed and the connection way and originally did not have a little difference.
To modify the port number of a remote Desktop connection