Method:
1. During the operation, click Start-Enter regedit and enter.
2 Expand HKEY _ Local _ Machine \ System \ Current Control Set \ Control \ Terminal.
Server\wds\rdpwd\tds\tcp "branch, and double-click the portnumber key value.
3. Cardinality: Switch to decimal and change the numerical data, that is, the remote desktop terminal service port number. Click OK.
4. Then expand HKEY _ Local _ Machine \ System \ Current Control Set \ Control \ Terminal.
Server\winstations\rdp-tcp "branch, double-click the portnumber key value, and change the port number as above.