Windows Server 2012 remotely modify the default port 3389

Many of my friends when using WINDOWS operating system, like to modify the default port for remote connections, but many of my friends due to the modification of the port the wrong way, they can not lead to a remote server operation, to bring their own troubles. Here, I'll give you a brief talk about the correct way to modify the remote port.

----- run at the start menu, type regedit, into the registry editor, according to the first plane into the path modify the port where:

1, HKEY_LOCAL_MACHINE / System / CurrentControlSet / Control / Terminal Server / WinStations / RDP-Tcp found below "PortNumber", displayed in decimal, the default is 3389, to any available port.

2. Please note, here modified later, no modification is successful, another location in the registry file must also be modified accordingly, the path is HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Terminal Server / Wds / rdpwd / Tds / tcp find the following "PortNumber", displayed in decimal, and make changes.

Then find open 2012windows Firewall Advanced Management - selected inbound rule - Remote Desktop user mode (TCP-IN)

Selected, the new rules - port - used in TCP, Specific local ports, you just fill out a modified port number - allows the connection, and then all the next step. When the name, just take your own, such as Remote Desktop ** port.

Restart the server, it's done.

Guess you like

Origin blog.51cto.com/13557682/2415476