I cannot access my PiHole web interface.

Good day!

I am having issues being able to access the web portal of my PiHole installation. I am using a Pi 5 8GB model, with (AFAIK) the most recent version of Pi OS and PiHole.

I rarely have a need to access the web portal, but I tried to get on it today and was not able to do so. My web browser (Brave, version 1.76.82 on Windows 11 Pro 24H2) is giving me an error that reads "{PiHole IP address} Refused to connect" I have a debug token. It is https://tricorder.pi-hole.net/gBhq4fhK/

What is the full URL you are using to try to access the interface?

I have tried a couple of different URLs. The one that I have bookmarked is {PiHole IP}/admin/groups-adlists.php, but I have also tried {PiHole IP}/admin, {PiHole IP}, and {PiHole IP}/admin/login.php

You need to remove these bookmarks.
There is no PHP in Pi-hole v6, so these pages are gone/renamed.

Your debug log shows Pi-hole web server is using ports 8080 and 443:

*** [ DIAGNOSING ]: Ports in use
[✓] tcp:0.0.0.0:8080 is in use by pihole-FTL
...
[✓] tcp:0.0.0.0:443 is in use by pihole-FTL
...
[✓] tcp:[::]:8080 is in use by pihole-FTL
[✓] tcp:[::]:443 is in use by pihole-FTL

This was probably caused by the old web server using the default port.

Right now, you can access the web interface using http (http://192.168.1.8:8080/admin) or using https (https://192.168.1.8/admin).

If you prefer to change the ports back to the default ones, you can run this command:

sudo pihole-FTL --config webserver.port '80o, 4430s'

After that, you will be able to access the interface via http://192.168.1.8/admin

Thank you for the information. The two links you posted work, so I will change my bookmarks so that I can access the portal. I appreciate the help!

1 Like

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