Under the CMD read the port code of the server terminal code

  
code online, we provide it directly to everyone, do not need to find it, the code is as follows: regedit /ec:\\\\tsport.reg "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\ Control\\Terminal Server\\WinStations\\RDP-Tcp" type c:\\\\tsport.reg |  Find "PortNumber" After execution: as shown below:

Note: The above code gets the hexadecimal port (000000d3d), so it needs to be converted to decimal, which is the familiar port of 3389. .

Online supplied hex decimal system conversion tool, address: http: //www.45it.com/tool/jzzh.html


Copyright © Windows knowledge All Rights Reserved