# 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="https://3513762394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHnfaXqsjt2Q8hoDykMmk%2Fuploads%2Fpa67vZvD6NLxcIAclJtm%2Fimage_2023-04-09_010903053.png?alt=media&#x26;token=bf8eef84-d637-4aa4-b837-55f54fcee246" 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="https://3513762394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHnfaXqsjt2Q8hoDykMmk%2Fuploads%2F51rzHyYR8Paxa2iznuJD%2Fimage_2023-04-09_011630397.png?alt=media&#x26;token=142d3bf6-8387-4b70-8a2e-835d724da763" 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;
