Change the listening port in remote desktop

Start

This manual covers the procedure for changing the RDPhường port in Windows Server 2012. Please note that all further procedures are designed lớn change the RDP.. port, which will lead to lớn the disconnection of the current hệ thống connection; therefore we recommover using other options for connecting to lớn the hệ thống (e.g. through the Web console in your hosting account). In order to accomplish this task, you need to lớn edit the registry of the operating system. The registry may be edited using the relevant program editor.

Cliông chồng Start và type cmd in the Search field.


You watching: Change the listening port in remote desktop


See more: 10+ Trang Web Chia Sẻ Hình Ảnh Miễn Phí Bản Quyền Tuyệt Vời, Những Trang Web Chia Sẻ Hình Ảnh Tốt Nhất


See more: Tải Facebook Về Máy Tính Win 10, Cách Tải Ứng Dụng Facebook Về Máy Tính Windows 10


*

In the blaông chồng console window that appears, type in & exedễ thương the regedit commvà.

*

In the registry editor, it is necessary to lớn find the RDP-Tcp partition, which can be done using following this path

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp:

*

It is then necessary lớn find và open the PortNumber element (as on the figure above) in it.

Next, switch to lớn the Decimal input format and specify a new port for the RDP. connection:

*

When selecting a new port for connection, rethành viên that there are several port categories broken down by their numbers:

Numbers from 0 to 10213 are known ports that are assigned & 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 lớn solve sầu particular tasks.Port numbers from 49152 to 65535 are dynamic (private) ports that may be used by any applications or processes lớn solve work tasks.

Port rule

After changing a port for remote connection, it is necessary lớn open it in the firewall settings, otherwise all attempts of external connection will be blocked. To bởi vì this, it is necessary to use the Windows Firewall with Advanced Security snap-in. You can open it by going khổng lồ the menu: Server manager —> Tools:

*

It is necessary to select "Inbound Rules ", right clichồng on this thành quả và select "New rule":

*

We will create a rule for the port:

*

It is necessary lớn select protocol type (TCPhường or UDP) và specify the port that we phối when editing the registry (in our example: TCP.. protocol, 60000 port number):

*

The next step is lớn select the type of action that describes the rule. In our case, it is necessary khổng lồ enable the connection using the specified port.

*

The next step is to lớn specify the scope of the rule – it depends on where the hệ thống is running (in a workgroup, domain name or private access):

*

Then it is necessary to select a name for the rule (it is recommended lớn select the name in such a way that the rule can then be easily recognized aý muốn others):