View Remote Desktop port method

  Examples of Windows remote desktop default port 3389. For security reasons, some users have a need to modify the default port to reduce the number of malicious *** via Remote Desktop and scanning ECS instance.
  When using IIS7 Remote Tools, the port is actually not very able to play a role, or even close, so you can make what port security risks does not appear, then the use of computer Remote Tools will open the port, see the port methods:
  Method a
  remote connection and log on to Windows instance.
  Select Start> Run, type cmd to open a command window.
  Execute the command tasklist / svc | find "Ter" , in this case in view of TermService PID is 1592.
  Run netstat -ano | find "1592", see the port TermService used, as in the example of 3389.
  Method Two
  remote connection and log on to Windows instance.
  Select Start> Run, type regedit to open the registry editor.
  Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ Wds \ rdpwd \ Tds \ tcp, find PortNumber of sub-keys.
  Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp, portnumber find the value of the normal two values are the same, it is the port of the remote service.
  Method three
  remote connection and log on to Windows instance.
  Select Start> Run, type cmd to open a command window.
  Run reg query "hklm \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ Wds \ rdpwd \ Tds" / s, in this case the hexadecimal values PortNumber view of 0xd3d (corresponding to decimal 3389).
  MCmdTermService
  execute the command reg query "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp" / v portnumber view PortNumber value of the RDP-Tcp.

Guess you like

Origin blog.51cto.com/14470319/2424428