search
HomeOperation and MaintenanceWindows Operation and MaintenanceModify the default 3389 remote port of Windows server (server security protection)

Modify the default 3389 remote port of Windows server (server security protection)

Nov 07, 2019 pm 04:08 PM
windowsReviseserverremote portdefault

Modify the default 3389 remote port of Windows server (server security protection)

Prerequisites

Before using this tutorial, please make sure you have registered an Alibaba Cloud account. If you have not registered yet, please complete Account Registration first.

Modify the default remote port of the Windows server

This section uses Windows Server 2008 as an example to introduce how to modify the default remote port of the Windows server.

1. Connect remotely and log in to the Windows instance. For specific operations, see Connecting to a Windows Instance.

2. Modify the value of the registry subkey PortNumber.

1. Press the shortcut key Win (Windows logo key) R to start the running window.

2. Enter regedit.exe and press Enter to open the Registry Editor.

3. In the left navigation bar, click HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > Terminal Server > WinStations > RDP-Tcp.

4. Find the registry subkey PortNumber in the list on the right and right-click it and select Modify.

5. In the pop-up dialog box, enter the new remote port number in the text box of Value data, which is 3399 in this example. Click Decimal in the Base area, and then click OK.

Modify the default 3389 remote port of Windows server (server security protection)

3. Optional: If you have turned on the firewall, you need to add the new port number to the firewall and set it to allow connections. For specific methods, see Setting the ECS instance remote connection firewall.

4. Restart the ECS instance in the ECS management console. For specific operations, see Restarting an instance.

5. Add security group rules to the instance to allow the newly configured remote port to connect. For specific operations, see Add Security Group Rules.

6. Access the server remotely. Add a new remote port number after the remote address to connect to the instance. For example: 192.168.1.2:3399.

Modify the default 3389 remote port of Windows server (server security protection)

Note: After adjusting port 3389, remote desktop connection customers using Mac only support the default port 3389.

Recommended tutorial: windows tutorial

The above is the detailed content of Modify the default 3389 remote port of Windows server (server security protection). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools