We can access Windows Server remotely with Remote Desktop through the TCP port 3389. 3389 is a default port to access Windows Server.
Change the remote access port number is more secure environment. This
article explains you how to change default port number to access
Windows Server. Go with following steps to change your port number.
2. Click on Windows logo. Open "Run" dialog box. Just type "Run" after open Windows logo.
3. Open registry editor by typing "regedit" command without double quotes in "Run" dialog box. You will see one pop up dialog box as follow.
4. Now select one by one option as given below. Select HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations
5. Now click on RDP-Tcp. At right side, search as PortNumer and Double Click on it as follow.
5. Now click on RDP-Tcp. At right side, search as PortNumer and Double Click on it as follow.