# Locating your IP address

## Getting your public IPv4 address

1. Open your console
2. Type `curl -4 icanhazip.com`
3. Press `Enter`
4. It will give you your public IPv4 address
5. This will be the IPv4 address you need, when people from outside your local network, needs to [connect to your server](/tilted-online/guides/client-setup/using-modorganizer2-mo2/playing-skyrim-together-reborn/connecting-to-a-server.md).

## Getting your local IPv4 address

1. Use a guide [like this](https://tecadmin.net/how-to-find-ipv4-address-on-ubuntu-22-04/).

#### Onwards to the next step!


---

# 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.tiltedphoques.com/tilted-online/guides/server-guide/linux-setup/locating-your-ip-address.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.
