Register now or log in to join your professional community.
The RD Gateway can be used to securely publish RemoteApps over the internet over Secure Sockets Layer (SSL).
We can change the port no by right-click the properties of the RD Gateway server ->
select properties -> on the properties dialog we select Transport Settings.
Here we have the option available “HTTP Port (default443)” to change the default port. we change it to port eg:-666 and apply the configuration
Then we need to confirm that the following actions will be performed.
By default RDP is using port number3389. You can change the same to a unreserved port using regedit.
Note: Editing the registry is risky thing and should sure you have a verified backup before saving any changes.
The following steps can used to change RDP default port using regedit
1) Click Windows logo +r key2) Type the below path in run windowHKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp
It may require a reboot to make the port assignment take effect.Once the system is listening on the new port, connections need to specify the new port in the RDP client properties
1. Open Run (Win Key + R) type Regedit and hit OK
on registry Editor Go to Go to HKEY_LOCAL_MACHINE\\\\System\\\\CurrentControlSet\\\\Control\\\\TerminalServer\\\\WinStations\\\\RDP-Tcp\\\\PortNumber and enter your Desired Port Number and Restart the server
Remote desktop protocol (RDP) is the de facto administrative console access, and it may be necessary to make it even more secure by changing the TCP port used for the network access. RDP transports on TCP3389 by default for all supported versions of Windows; if you want to change the port, it requires a quick change in the Windows registry.
The following hive has the specific TCP port used for RDP:
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp]
In this hive, the PortNumber value contains the configured port that Windows will listen for RDP connections. The default port assignment is represented as D3D in hexadecimal or3389 in binary.
It may require a reboot to make the port assignment take effect. Once the system is listening on the new port, connections need to specify the new port in the RDP client properties
The Windows Server system will now listen on the new port with the Svchost.exe process, visible in task manager by entering Netstat -a -n -o to view the current processes and list the associated executable.
Enter the registry editor
Hkey_Local_Machine/System/CurrentControlSet/Control/TerminalServer/Winstations/RDP-Tcp/Port-no
Change the default value of3389 to some unique unreserved portno: say55389
Save & reboot
By editing registry key in server
Reference
https://kb.iweb.com/entries/-Change-the-Remote-Desktop-Connection-port-to-your-Windows-Server
Add the windows remote desktop services role in windows2012 server
In that there is an administrative tool named remote desktop gateway manager
In that tool you can change the port, ip address etc
Generally speaking the registry setting for RDP port you can find in
HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\TerminalServer\\WinStations\\RDP-Tcp\\
Guys,
After changing the RDP port using the above mentioned steps, make sure that firewall rules are created for the new port before restarting the Service.
Hi,
Changing RDP port is so easy..
1. Open registry editor (cmd --> regedit)
Note: Its good to back up registry before you make any changes.
To backup, from registry window click on Files --> Export
2.Go to HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\TerminalServer\\WinStations\\RDP-Tcp\\PortNumber.
3. Edit --> Click on decimal -- > Enter custom port number.
4. Restart the server to take the changes.
Note: Please remind to allow the port in firewall before proceeding restart.
5. To connect RDP, enter (windows key+R) --> mstsc -->192.168.1.32:65432
Where65432 is customized port number.
Regards,
Nafi
The instructions below apply to machines under Windows Server2012,2008 R2,2008, and2003. Follow these steps:
After the reboot, specify the Remote Desktop port number.