# RCON

{% hint style="danger" %}
Please do not forget to add the port you use to the firewall!
{% endhint %}

Open the server.properties file from your Minecraft Server files, edit the sample code below and add it to the bottom.

{% code title="server.properties" overflow="wrap" lineNumbers="true" %}

```properties
...
enable-rcon=true
rcon.password=PASSWORD
rcon.port=PORT (10289 RECOMMENDED)
```

{% endcode %}


---

# 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://help.minexon.net/connect-your-game/rcon.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.
