# Windows port exceptions

1. On the client operating system, go to Start > Run and type firewall.cpl. The Windows Firewall window opens.
2. Click on the “Advanced Settings” link on the left pane. The Windows Firewall with Advanced security window opens.
3. Click on the “Inbound Rules” option.
4. On the left pane, click on “New rule”.
5. Under “Rule Type” select the option “Port” and click next.
6. Select “TCP" or ”UDP”and “specific local ports” options.
7. Key in the port number.
8. Click Next.
9. Select the option “Allow the connection”.
10. Click Next, do not change any option here and click Next again.
11. Specify a name for this rule.
12. Click Finish.
13. Do the same steps for “Outbound Rules”.


---

# 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://wiki.space-hosting.net/rdp-wiki/windows-port-exceptions.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.
