Security of VPS or server systems is a matter of great concern to everyone. In case of hacker intrusion, the information is tampered with or deleted, and the consequences are unimaginable. There is no network security. It cannot be said that after the security settings, the system will not be intruded into, but at least the probability of being intruded will be reduced. host security involves many aspects. Next let's take a look at the most basic and easy-to-understand 3389 remote port modification method.
The default port number of the host is 3389. Our IP address can be directly connected without adding a port. If you want to modify the port number, you need to add it. For example, we will modify the port number to 2012 as an example:
1. Open the control panel, Windows Firewall, and add, set tcp port 2012, and write the port name casually. For example, if I write "YuanCheng", I am in XP. The same is true for VPS or server 2003 systems.
2. In the Start Menu, Run regedit, open the Registry Editor, and expand HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ Wds \ rdpwd \ Tds \ tcp to view the PortNumber in the right window, double-click the base, select "decimal", and change the data to "2012". Go to the left-side menu bar of the Registry and start WinStations \ RDP-Tcp, the window on the right also has "PortNumber", and the same method changes the data to "2012" www.2cto.com
3. Exit the registry, restart the VPS/Server, and the modification takes effect. When the host is online, you can use IP + port for remote connection. For example, 58.211.141.99: 2012 ,.
4. After the modification is complete, we also need to perform some security settings, because when the system permission is improperly set, a website is hacked and uploaded to Webshell, it can read your remote port through WebShell. Open Control Panel-Administrative Tools-service, find the Remote Registry service, stop it, and change the Startup Type to manual. You can see that it is described as "enabling remote users to modify registry settings on this computer. If this service is terminated, only users on this computer can modify the registry. If this service is disabled, any service dependent on it cannot be started ."
It's best to rename the RemoteRegistry key in the registry, such as RemoteRegistry-bak2012. the specific address is HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ RemoteRegistry to put P.S. of course, there are some ready-made tools and software on the Internet that can also modify the remote port. We recommend that you manually perform 360vps, which is secure and reliable and can increase your knowledge. Author QQ87828303