Changing the RDP port in Windows Server 2012
Start
This manual covers the procedure for changing the RDP port in Windows Server 2012. Please note that all foster procedures are designed to change the RDP port, which will lead to the gulf of the current server connection ; therefore we recommend using other options for connecting to the waiter ( e.g. through the Web console in your hosting account ). In decree to accomplish this undertaking, you need to edit the register of the operate system. The register may be edited using the relevant broadcast editor .
Click Start and type cmd in the Search field .
In the black comfort window that appears, character in and execute the regedit control.
In the register editor, it is necessity to find the RDP-Tcp partition, which can be done using following this path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp:
It is then necessity to find and open the PortNumber element ( as on the digit above ) in it .
future, switch to the Decimal input signal format and specify a new port for the RDP connection :
When selecting a new port for connection, remember that there are several port categories broken down by their numbers :
-
Numbers from 0 to 10213 are known ports that are assigned and controlled by Internet Assigned Numbers Authority (IANA).
They are normally used by various OS system applications.
-
Ports from 1024 to 49151 are registered ports designated by IANA. They can be used to solve particular tasks.
Read more: How to register as a VIP in GTA Online
-
Port numbers from 49152 to 65535 are dynamic (private) ports that may be used by any applications or processes to solve work tasks.
Port rule
After changing a port for distant connection, it is necessity to open it in the firewall settings, otherwise all attempts of external connection will be blocked. To do this, it is necessary to use the Windows Firewall with Advanced Security snap-in. You can open it by going to the menu : Server manager — > Tools:
It is necessity to select “ Inbound Rules “, correct snap on this item and select “ New rule “ :
We will create a dominion for the port :
It is necessity to select protocol type ( TCP or UDP ) and specify the port that we set when editing the register ( in our example : TCP protocol, 60000 port number ) :
The future step is to select the type of legal action that describes the rule. In our case, it is necessary to enable the connection using the specified port .
The adjacent tone is to specify the setting of the rule – it depends on where the server is running ( in a workgroup, world or private access ) :
then it is necessary to select a appoint for the rule ( it is recommended to select the appoint in such a means that the rule can then be easily recognized among others ) :
After that the server has to be rebooted .
now the fresh newfangled larboard needs to be used to connect to the waiter via RDP .