In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to change the remote port number of the CVM. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Many users of CVM have installed firewall software such as security dog, which automatically modifies the remote login port, which makes it impossible for the public network to log in normally, and it is troublesome to find a service provider after sale. Here is a way to view and modify the port number of the remote desktop service.
View the remote Desktop service port:
1. Open web vnc; and open powershell (powershell, as a new shell under windows system, is very powerful)
2. Execute Get-ItemProperty-Path 'HKLM:\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ WinStations\ RDP-Tcp'-Name' portnumber' (powershell also supports Tab auto-completion)
Modify the remote Desktop service port:
The general method can be modified through the registry, and the remote Desktop service port can also be modified through the powershell command line.
1. Execute Set-ItemProperty-Path'HKLM:\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ WinStations\ RDP-Tcp'-Name 'PortNumber'-Value XXXX
2. Execute Set-ItemProperty-Path'HKLM:\ SYSTEM\ CurrentControlSet\ Control\ Terminal Server\ Wds\ rdpwd\ Tds\ tcp'-Name 'PortNumber'-Value XXXX
3. Execute Restart-Service termservice-Force (force restart of remote desktop service)
It should be noted that the port numbers of the first two steps must be the same when modifying the port. The third step is to restart the remote desktop service. If it is a vnc login, it will not affect it. If it is a remote login on a public network, forced restart will cause the current session to be disconnected.
This is enough about how to change the remote port number of the CVM. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.