Upgraded, now web UI is on port 8080, can I just edit pihole.toml?

Expected Behaviour:

Pi-hole admin UI (Ubuntu 22.04, Core v6.0.4FTL v6.0.2 · Web interface v6.0.1) running on port 80 as it was originally before applying my upgrade.

Actual Behaviour:

Pi-hole admin UI is now running on port 8080 and my pihole.toml says I have changed it from the default (or something).

Debug Token:

https://tricorder.pi-hole.net/XTX4XICx/

My Question:

Can I just edit my pihole.toml to put it back to the default for port 80? How do I get pi-hole to re-read it's configs and bind to that port (sorry - I can't immediately see anything in the docs about editing pihole.toml).

Please note I am not asking about why the change was made. I don't care about that :slight_smile:

You can change the toml file or you can go to All Settings> Webserver & API. Make your changes and hit click save and apply. You will need to be in expertmode to do this.

You can also set configuration values via CLI, e.g.

sudo pihole-FTL --config webserver.port "80,443os,[::]:80,[::]:443os"

But you may still prefer to edit either pihole.toml or UI, as both feature a full description for the option.

1 Like

OK thanks - and the server will just re-bind automatically? I don't have to send some SIG -HUP or something?

Yes, that's one of the v6 improvements. :wink:

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.