To modify the Windows 2012/win8, win7 Remote Desktop Connection default port method

Source: Internet
Author: User

Remote Desktop Connection service is based on port 3389, the intruder generally first scan the host open port, once found that it opened 3389 ports, will be the next intrusion, so we only need to modify the default port to avoid the majority of intruders ' eyes and ears.

Modify the Windows 2012/WIN8, win7 Remote Desktop Connection default port generally need to modify four places, see the following NOTE * * *, the details are as follows:

Step: Open "Start → run", enter "regedit", open the registry, enter the following path:

[Hkey_local_machine/system/currentcontrolset/control/terminal server/wds/rdpwd/tds/tcp], see Portnamber value? The default value is 3389, which can be modified to the desired port, such as 8080, using decimal. See:

Then open [Hkey_local_machine/system/currentcontrolset/control/terminal server/winstations/rdp-tcp], the value of PortNumber ( The default is 3389) to change to port 8080, note the use of decimal.

This is the end of many tutorials on the web. Indeed, if it is an XP or 2003 system, then the client can connect to the Remote desktop via port 8080. However, under Vista and Win 7, the light modifies the two ports above to 8080, and the client is unable to make Remote Desktop connections. The reason is that the original Vista and win 7 enhanced the capabilities of their own firewalls. The following is a local port that has been modified to 8080 for Remote Desktop, and the default local port is 3389:

From the firewall policy in inbound rules, if you do not manually modify the firewall policy port to 8080, you cannot find any firewall policy with a local port of 8080. In other words, in an inbound rule, if the 8080 port is not turned on, the firewall will deny access to port 8080 by default, which is why the client cannot successfully connect to the Remote Desktop.

The Remote Desktop policy in inbound rules cannot be modified by default, so you can modify the firewall policy only by modifying the registry. Open [Hkey_local_machine/system/currentcontrolset/services/sharedaccess/defaults/firewallpolicy/firewallrules], Change the value of remotedesktop-in-tcp to 8080 and save it with 3389 of the data.

Re-open [Hkey_local_machine/system/currentcontrolset/services/sharedaccess/parameters/firewallpolicy/firewallrules] , change the value of remotedesktop-in-tcp to 8080 and save it with 3389 of the data.

After the modification, restart the computer to take effect, then use port 8080 for remote login.

The specific method of access is IP: port number, such as 192.168.100.100:8080, such as:

Come from:http://www.68idc.cn/help/jiabenmake/qita/20140612106397.html

To modify the Windows 2012/win8, win7 Remote Desktop Connection default port method

Related Article

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.