How to modify the Remote Desktop Connection Port

Source: Internet
Author: User

Make sure that the firewall is allowed to access the port after the port is changed.

  1. First open the Registry: Run-Regedit:

  2. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WDS \ repwd \ TDS \ portnumber of the TCP Key is the port used, the default value is 3389 (decimal ), you can change it to another port, such as 3111, to improve security performance.

  3. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ terminalserver \ winstations \ RDP-TCP find portnumber value on the right, default is 3389, select decimal, change to the port number you want (range: 1024 to 65535, it cannot conflict with the occupied port; otherwise, the system cannot be started next time. Run the netstat-a command to check the port that is already in use on the local machine. Note that the modified port numbers must be consistent.

  4. After modifying the port, when logging on to the Remote Desktop, you must specify a new port after entering the IP address, such:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.