You get a bonus - 1 coin for daily activity. Now you have 1 coin

Windows: how to change the RDP (or Terminal Server) service port from 3389 to another one

Practice



Task: change the incoming port of the RDP service (Terminal Server) from the default 3389 to a different one.


1) Open the Registry Editor (Start -> Run -> regedit.exe)

2) Navigate to the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

3) Find the PortNumber value and change it to the port number you need.


When connecting from Windows client computers, specify the port in the address. For example, if you changed the port to 12345, and the address of the server (or just the computer you're connecting to) is: myserver, then the MSTSC connection would look like this:

mstsc -v:myserver:12345

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming