# Custom Port (Optional)

If your 8080 port is already using on other apps, you can using custom with this following command.

#### Go to algorand node directory

```bash
cd /var/lib/algorand
```

#### Copy the config example

```bash
cp config.json.example config.json
```

#### Edit the config.json

```bash
nano config.json
```

Search `EndpointAddress` and here is the example.

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

Then change the port from `127.0.0.1:0` to `127.0.0.1:8980` or you can use port you want. Next step is save your config using `CTRL +X` , `CTRL + Y` and then press `enter`.

#### Restart your node

```bash
sudo systemctl restart algorand
```

#### Check your node status

```bash
sudo systemctl status algorand
```

Check your node status to make sure your port is already changed. Here is the example.

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

{% hint style="info" %}
Don't forget to remember which port you're using for algorand node to run goracle node later.
{% endhint %}

Now your algorand node is ready to use.&#x20;


---

# 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.strnan.top/mainnet/algorand/custom-port-optional.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.
