# Change the RDP Port and access the windows server

Click on the window server.

<figure><img src="/files/4GaztWTgPoEjd6V15vvk" alt=""><figcaption></figcaption></figure>

Click on the terminal.

<figure><img src="/files/vb2Qa8HFmrba00x58MwQ" alt=""><figcaption></figcaption></figure>

Use the password you created when setting up the Windows server to log in.

<figure><img src="/files/dcdoutjcy5vvfuZb8p9g" alt=""><figcaption></figcaption></figure>

To open the Run dialog box in Windows, navigate to the desktop or Windows dashboard, then press \`Windows key + R

<figure><img src="/files/woKwWjZEtC06zmXZfK1D" alt=""><figcaption></figcaption></figure>

Computer\ HKEY\_LOCAL\_MACHINE\ SYSTEM\ ControlSet001\ Control\ Terminal Server\ WinStations\ RDP-Tcp&#x20;

<figure><img src="/files/vSuc6wviV8WILuUSmIQb" alt=""><figcaption></figcaption></figure>

To change the port number, right-click on the Port number and select "Modify" from the context menu.

<figure><img src="/files/0Ze4p1MMP58gb7Tjv1FQ" alt=""><figcaption></figcaption></figure>

To proceed, please enter the port number in the designated field and confirm your selection by clicking the "OK" button.

<figure><img src="/files/czsUnQyx3tOJomBRRAYI" alt=""><figcaption></figcaption></figure>

Subsequently, Windows Defender enables the Windows Defender Firewall.

#### Advanced Setting

Click on **Advanced Setting** to access more options.

#### Creating a New Inbound Rule

1. Navigate to the **Inbound Rules** section.
2. Click on **New Rule** to begin configuration.

<figure><img src="/files/hsvadh5C6QmhHXPnAlyw" alt=""><figcaption></figcaption></figure>

1. Enter the port number.
2. Click "Next".
3. Choose "Allow the connection".
4. Click "Next" again.
5. Provide a name for the rule.

<figure><img src="/files/pvWaRTOGYlsLqfBIcuhQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IEcITP44h3BB8XlqddNy" alt=""><figcaption></figcaption></figure>

The following processes are applied to both inbound and outbound rules: closure.

<figure><img src="/files/RniA7B4eiAoMwwW0bXHn" alt=""><figcaption></figcaption></figure>

After allowing the port in the firewall, add it to the security group using the following [link](/neevcloud-products/computes/manage-cloud-instance/security-group/add-rules-to-the-security-group.md):

Open the Remote Desktop Connection.

<figure><img src="/files/QYnyzEZwKW97AZwHbHTg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xOFKR0LlP9NQMAHHHHIf" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neevcloud.com/neevcloud-guide/troubleshoot/how-to-access-instances/change-the-rdp-port-and-access-the-windows-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
