WordPress knowledge sharing

How to modify the default 3389 port of Windows VPS

Because the default remote port of the Windows VPS is 3389, there is a great danger of software scanning and attacks, and frequent scanning and attacks will lead to the depletion of VPS CPU and bandwidth. To ensure VPS security, it is recommended to change the 3389 port in time.
There are many ways to modify 3389 port. The simplest way is to open the registry (start, run, enter regedit, enter), click Edit, click Search, enter PortNumber to search, press F3 to search for the next one, you can find the words of 3389, and then modify it.
The following method is the same as above. Open the registry editor and navigate to
"HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Terminal Server Wds rdpwd Tds tcp", find the port number compared with the "PortNumber" key, and then modify it;
The second step is to modify the value of PortNumber corresponding to "HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Terminal Server WinStations RDP Tcp" and change it as well.
Change it to a port number rarely used at ordinary times, and specify the range of remote connection ports between 1025-65535. For example, change it to 2046

After modifying the port, you must go to the Windows Firewall to add the port to allow remote connection (if the Windows Firewall of vps is closed, you do not need to do so). The method of adding is as follows:

Open the control panel of Windows VPS - Windows Firewall, click "Add Port" in the dialog box, enter "Remote Desktop" in the name or what you can understand. If you want a port number, click OK.

 xg3389dk02

2. Use the software to change the 3389 port. Some vps merchants are responsible for the comparison, After the Windows system is installed, it will automatically bring a remote desktop port modifier. Once you see this, you can understand how to operate it. There is no need to talk about it.

 xg3389dk01

 

3. If you install it like Weiss Blog Server security dog software There is a modification item of the remote login port in the system firewall. For security reasons, bloggers change the default 3389 number to another number, such as 2046 or the rarely used four digit five digit number.

 winfwqaqg07

Insert a sentence here: no matter how good the server security measures are, they can't compare with the sense of security brought by timely backup, so Weieis Blog strongly recommends that you regularly back up the website and database.

The above is the summary of Weieis blog Tutorial on how to modify the default 3389 port in Windows VPS There are three common methods. The last two methods are to modify the default remote port with the help of third-party software. One advantage is that the new port will be directly added to the Windows Firewall, saving you the trouble of adding it manually and the tragedy of forgetting to add it.

Like( zero )
Article name: How to Modify the Default 3389 Port of Windows VPS
Article link: https://www.vpsss.net/148.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.