V6 web interface can't be loaded

Fresh install of latest arm64 Raspberry Pi OS, followed by sudo apt update/upgrade, setting of static IP address on server, and then installation of pihole using "curl -sSL https://install.pi-hole.net | bash".

Expected Behaviour:

Entering https://192.168.1.100:80/admin should load web interface after pihole install.

Actual Behaviour:

Unable to connect, and running pihole -d shows (in webserver.log)

[2025-02-22 19:00:10.452 AEDT 1599] Initializing HTTP server on ports "80o,443os,[::]:80o,[::]:443os"
[2025-02-22 19:00:10.465 AEDT 1599] cannot create socket (entry 3)
[2025-02-22 19:00:10.470 AEDT 1599] cannot create socket (entry 4)
[2025-02-22 19:00:10.470 AEDT 1599] Failed to setup server ports
[2025-02-22 19:03:05.729 AEDT 671] Initializing HTTP server on ports "80o,443os,[::]:80o,[::]:443os"
[2025-02-22 19:03:05.735 AEDT 671] cannot create socket (entry 3)
[2025-02-22 19:03:05.739 AEDT 671] cannot create socket (entry 4)
[2025-02-22 19:03:05.740 AEDT 671] Failed to setup server ports

Debug Token:

https://tricorder.pi-hole.net/6y6oSE1z/

I'm having the exact same problem. I tried to upgrade pi-hole today one my 2nd instance and the web interface is failing with the same errors in the log file. I uninstalled lighttpd, restarted, uninstalled/reinstalled pihole, and nothing. There is nothing running on those ports that would cause any issues. Also tried the latest docker install, and that doesn't seem to work either.

When v6 was released a couple of days ago, I was able to upgrade without any issues on my other instance. The new updates broke something.

Yes, I have another pihole server that I had upgraded from v5 to v6 where the web interface was working fine with FTL 6.0 and 6.0.1, but when FTL updated to 6.0.2 the web interface stopped working. So I built a fresh server on a spare RPi4 and installed pihole v6 on it, and the same problem with the web server not loading.

If I could somehow revert to FTL 6.0.1 to see if the web interface works again...

If you are not using IPV6, could you try changing the pihole.toml to use only IPV4 ports ?

sudo nano /etc/pihole/pihole.toml

Find using CTRL+W word 80o and remove the [::] as well as [::]443os.

port = "80o,443os" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"

Restart pihole-FTL usin sudo systemctl restart pihole-FTL.service

Set new password if you're re-installed it in your previous attempts but you should see the interface.

2 Likes

Yes, I'd just found that to be the problem. Remove the IPv6 addresses from the list of ports, and the web server loads OK.

1 Like

Tried the above but now it's stuck here per the log file:
[2025-02-22 12:47:31.960 EET 1778] Initializing HTTP server on ports "80o,443os"

GUI still won't load, even if I see port 80 is now in use by pihole-ftl during a netstat command:
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1778/pihole-FTL
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1778/pihole-FTL
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1778/pihole-FTL
udp 0 0 0.0.0.0:53 0.0.0.0:* 1778/pihole-FTL
udp 0 0 0.0.0.0:123 0.0.0.0:* 1778/pihole-FTL

Removing the IPv6 webserver ports in pihole.toml has fixed the problem for me...

Thank you!
I have been trying to find this answer for the past day and a half.
I could get the landing page to show up, but couldn't get the login page to display and I thought I had tried everything.

This absolutely fixed my issue as well. Pihole debug called out my config but I didn't change it.
port = "8080o,443os,[::]:8080o,[::]:443" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"
Thank you

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