Current location - Quotes Website - Team slogan - Can the port number of the remote desktop be modified at will? Is there a command rule for port numbers?
Can the port number of the remote desktop be modified at will? Is there a command rule for port numbers?
The default port of remote desktop is 3389, and the range of WINDOWS port is 0 ~ 65535, which can be set at will!

To modify the default port

If you want to modify this value, you need to modify the registry in two places:

First place:

[HKEY _ LOCAL _ MACHINE \ SYSTEM \ current Control set \ Control \

The value of terminal server \ WDS \ rdpwd \ TDS \ TCP] port number (default is 3389) is modified to the required port, such as 6000.

Second place:

[HKEY _ LOCAL _ MACHINE \ SYSTEM \ current control set \

Control \ Terminal Server \WinStations\RDP-Tcp]

The value of the port number (default is 3389) is changed to the required port, for example, 6000.

That's all for now. Just restart the system.

Tips:

If port filtering is set, there is an "Advanced" button in the tcp/ip property settings, and then click the last "Options" button. In tpc/ip filtering, please allow the changed remote port, such as 6000, otherwise remote access will be unavailable.

After setting, the port number must be added when connecting the remote controller, for example: 202.100.105438+0.220: 6000.