Home  >  Article  >  How to modify the remote desktop port?

How to modify the remote desktop port?

清浅
清浅Original
2019-04-19 15:48:5477236browse

How to modify the remote desktop port: First open the registry editor and find the corresponding PortName according to the path in the registry; then modify the value of PortNamber to the value you set; after the final modification, click Confirm to restart. Just a computer.

How to modify the remote desktop port?

The remote desktop port defaults to 3389, but sometimes it needs to be modified to a specific port number. So how to modify the remote desktop port? The following article will introduce to you how to modify the remote desktop port. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to modify the remote desktop port:

(1) First, you need to open the registry editor, shortcut key (windows key R) or start menu and select Run to open Run the window, enter the regedit command and confirm, you can open the registry editor

How to modify the remote desktop port?

(2) Follow the registry path below to find the corresponding PortNamber

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp

How to modify the remote desktop port?

## (3) Modify the value of PortNamber to the value you set , you can choose to modify it in decimal, the default is hexadecimal


Image 046.png

(4) Follow the registry path below to find the corresponding PortNamber

HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro1Set\Control\Tenninal Server\WinStations\RDP-Tcp

Image 047.png

(5) Modify the value of PortNamber to the value you set (the method is similar to the above, Consistent with the port modified above)

Image 048.png

# (6) After the modification is completed, click Confirm to close the Registry Editor. Restart the computer to take effect. Now you can open the remote desktop to test whether the modification is successful. Enter the mstsc command in the run window to open the remote desktop connection tool. Add the newly modified port after the computer name or IP address

Image 049.png

Image 050.png

Summary: The above is the entire content of this article, I hope it will be helpful to everyone Helps.

The above is the detailed content of How to modify the remote desktop port?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn