Find Dedicated Server Forums

Dedicated Server Web Hosting => General Dedicated Server Hosting Discussion => Topic started by: Gaiacom_LC on March 15, 2014, 03:51:27 AM

Title: How to Change RDP Port on Windows Server (Remote Desktop)
Post by: Gaiacom_LC on March 15, 2014, 03:51:27 AM
If you use remote desktop (RDP) with your Windows server, you may wish to update the server's RDP port for added security. To update the RDP port from the default port 3389, follow the steps below:
The server's port for RDP connections will now be updated.

NOTE: To connect to Windows server (http://www.redarray.net/) on the new port, you will need to specify the port in Remote Desktop Connection or your RDP application of choice. This is usually done by entering the server’s IP address and port in the following format:

0.0.0.0:33994 (Where “0.0.0.0″ is the server’s IP address, and “33994″ is the RDP port number.)
How to Change RDP Port (https://www.redarray.net/portal/knowledgebase/23/How-to-ChangeorUpdate-RDP-Port-on-Windows-Server-2008.html) via RedArray Knowledgebase.
Title: Re: How to Change RDP Port on Windows Server (Remote Desktop)
Post by: markwilson on March 25, 2021, 05:25:30 AM
Connect to your server via Remote Desktop

On your keyboard hold down the Windows logo + R  buttons which opens the “Run” dialog and execute the “cmd” command and click OK


Type “regedit” and click enter


Navigate to the following Registry key

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber


Find the “PortNumber” registry subkey and either right-click or double-click it. A box should pop that says “edit DWORD.” Find the value data (it should say 3389 for standard installations) and change it to the port that you would like.

I hope these steps will be helful!
Mark Wilson
Title: Re: How to Change RDP Port on Windows Server (Remote Desktop)
Post by: Akshay_M on March 18, 2022, 07:42:42 AM
STEP 1
Connect to the Windows Client/Server over RDP

Launch the Registry Editor (press WIN+R, type regedit, press Enter)

STEP 2
Navigate to the Remote Desktop Registry (RDP-Tcp)

Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.


STEP 3
Change the default port number

Double-click on the PortNumber value and change the port to 33091 (Decimal).

Change-RDP-port-tutorial-v2cloud
Click OK to save the changes

Restart your Windows computer or restart RDP services using the command prompt for changes to apply.

Cmd: net stop termservice & net

STEP 4
Connect to the windows computer after restarting via RDP and include the new RDP port.


STEP 5
Confirm listening port

Once you have successfully connected to the windows computer using the new RDP port, you can use the netstat -na | Find “List” command to confirm Remote Desktop Service is listening on the new port.

Changing RDP port helps to reduce the risk of port scanners and RDP vulnerabilities.