Server security is a very important thing to think about these days and you can increase the security level of the server with some very small changes. Windows servers can access remotely with Remote Desktop via the TCP 3389 port (default port). You can increase the security of the server by changing the default port used to connect to RDP and this requires a change in the Windows registry.
This article will guide you how to change the RDP port for your Windows server.
To open the Windows Registry, just click on the Windows key to open start and search regedit and then click on the Registry Editor which shown in the below image.
Go to the registry key which mentioned below. You can refer to following 2 images.