Questions and Answers — VDSina

How to change the standard port for RDP

How to change the default remote desktop port for server login?

30.12.2020 01:43 Employee Oleksandr Updated 18 February, at 11:29 no comments yet
30.12.2020 01:43
Answers to the question — 1
Employee Misha

1. Open the regedit registry editor

 

kak-izmenit-standartnyy-port-dlya-rdp-1.png

 

2. Go to the branch OF_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp

3. Edit the PortNumber parameter in decimal format (by default, port RDP 3389)

 

kak-izmenit-standartnyy-port-dlya-rdp-2.png

 

4. You also need to allow connections on the new port in the Windows Firewall. In the run window, write firewall.cpl

 

kak-izmenit-standartnyy-port-dlya-rdp-3.png

 

5. Go to the "Advanced settings"

 

kak-izmenit-standartnyy-port-dlya-rdp-4.png

 

6. Right-click on the "Inbound rules" section to open the submenu, where we select "New rule"

 

kak-izmenit-standartnyy-port-dlya-rdp-5.png

 

7. Create a rule "For the port"

 

kak-izmenit-standartnyy-port-dlya-rdp-6.png

 

8. Specify the new TCP port (it is desirable to do the same for the UDP port)

 

kak-izmenit-standartnyy-port-dlya-rdp-7.png

 

9. We allow the connection and name the rule arbitrarily.

 

kak-izmenit-standartnyy-port-dlya-rdp-8.png

 

 

kak-izmenit-standartnyy-port-dlya-rdp-9.png

 

 

kak-izmenit-standartnyy-port-dlya-rdp-10.png

 

10. Restart the server.

 

In the future, when connecting to a remote desktop, you will need to specify the connection port with a colon after the IP

 

kak-izmenit-standartnyy-port-dlya-rdp-11.png

Updated 18 February, at 11:46 18 February, at 11:28

To answer you need to register or log in.
Close the window
Authentication
2FA verification
Close the window
Sign up
A password will be sent to the specified email address
Close the window
Password Reminder
Close the window
Password Reminder
Close the window
Password Reminder
Exit