> For the complete documentation index, see [llms.txt](https://docs.strnan.top/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.strnan.top/testnet/algorand/custom-port-optional.md).

# 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
systemctl restart algorand
```

#### Check your node status

```
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;
