Method:
1. During the operation, click Start-Enter regedit and enter.
2. Expand the branch "HKEY _ local _ machine \ system \ current control set \ control \ terminal server \ WDS \ rdpwd \ TDS \ TCP" in turn, and double-click the key value of port number.
3. Cardinality: Switch to decimal and change the numerical data, that is, the remote desktop terminal service port number. Click OK.
4. Expand the branch of "HKEY _ Local _ Machine \ System \ Current Control Set \ Control \ Terminal Server \ Winstations \ RDP-TCP" in turn, double-click the key value of PortNumber, and change the port number as above.