Modify the default port of the Terminal Service

Source: Internet
Author: User
The default port of the Remote Desktop Terminal Service is 3389. to prevent malicious connection, you need to change the default port. You can open the Registry Editor and expand it in sequence.
"HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WDS \ rdpwd \ TDS \ Tcp" branch. The "portnumber" key value under it corresponds to the port number and can be modified.

After the preceding settings are complete, expand the "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ winstations \ RDP-TCP" branch in sequence, change the "portnumber" key value.

After changing the remote login port of the server, you can set the connection server address in the local "Remote Desktop Connection Program", and then click "connection settings> Save ", export and save the connection file. Use NotePad to open the exported "*. RDP" file, add the statement "server port: I: Port Number" in it, save the file, and import the connection. Note that in Windows 2000, ". select the "server port = 3389" Statement, and change the default "3389" port to the same login port as the server.

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.