> For the complete documentation index, see [llms.txt](https://docs.minersrefuge.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.minersrefuge.com.br/rodando-um-servidor/guias-basicos/pegando-ipv4-do-servidor.md).

# Pegando IPV4 do servidor

Muitas vezes o IPv4 do seu servidor, juntamente com a porta, estará no painel da hospedagem. Algumas hospedagens utilizam painéis diferentes (ou temas diferentes), mas o endereço que você precisa para entrar no servidor geralmente estará lá, como no exemplo abaixo:

<figure><img src="/files/5LgTwagfVppQnWtiK0SZ" alt=""><figcaption><p>Exemplo de servidor no painel Pterodactyl com o tema padrão, com endereço de conexão em IP</p></figcaption></figure>

No exemplo a cima **você já terá o IP de conexão**, entretanto, em muitas hospedagens estará como um domínio e não fornecerá o IP diretamente, como no caso abaixo:

<figure><img src="/files/KUOPJtz8IPoMAJT6VHnV" alt=""><figcaption><p>Exemplo de servidor no painel Pterodactyl com o tema padrão, com endereço de conexão em Domínio</p></figcaption></figure>

Caso na sua hospedagem esteja com o endereço de conexão em domínio, precisará seguir um dos guias abaixo:

{% content-ref url="/pages/QM2EcuM1jt5sjCVc1Qc9" %}
[Pelo mcsrvstat](/rodando-um-servidor/guias-basicos/pegando-ipv4-do-servidor/pelo-mcsrvstat.md)
{% endcontent-ref %}

{% content-ref url="/pages/qhhD9Dszw7MkfrPJzjOC" %}
[Pelo CMD](/rodando-um-servidor/guias-basicos/pegando-ipv4-do-servidor/pelo-cmd.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.minersrefuge.com.br/rodando-um-servidor/guias-basicos/pegando-ipv4-do-servidor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
