Cannot access Web Interface after installation

Hi guys,

I've been following this tutorial to install PiHole on my 3B+ on Raspberry Pi OS Lite. I had to install dhcpcd as the pi didn't have it installed and I needed to update the /etc/dhcpcd.conf file. This is the contents of the file:

# Persist interface configuration when dhcpcd exits.
persistent

# vendorclassid is set to blank to avoid sending the default of
# dhcpcd-<version>:<os>:<machine>:<platform>
vendorclassid

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Request a hostname from the network
option host_name

# Most distributions have NTP support.
#option ntp_servers

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

# static IP configuration:
interface eth0
static ip_address=192.168.0.77/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 1.1.1.1

Expected Behaviour:

Open the web interface in browser

Actual Behaviour:

After running through the installation I'm not able to access the web interface on <STATIC_IP>/admin or pi.hole/admin. From my local machine, I'm able to curl it


However, from my browser (Chrome) I'm not able to access it. I'm getting an ERR_ADDRESS_UNREACHABLE error.

Is this from a bad config, or do I need to expose the pi with ufw on port 80? I'm not sure what to do and will appreciate any help

Debug Token:

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

As you noticed, the web interface is running and it is working, but for some reason Chrome is not able to reach the IP.

Is the "local machine" the same machine where Chrome is installed?
If it is, Chrome is probably using a different DNS server (try to disable "Secure DNS" or something similar in Chrome settings).

I get a 302 from my Terminal but no content when I take out the -I flag

I turned off SecureDNS from my Chrome settings and tried different browsers and incognito mode, but it's still not showing up

This is normal and it shows the web interface is working.

I see the same here without the flag.
To see the page content try to use the full URL:

curl http://192.168.0.77/admin/login.php

(it should return the HTML/PHP code)

So I used Safari and I can log into the web interface using http://192.168.0.77/admin. It's just not working on Chrome or Firefox.

I also tried the to disable SecureDNS on Chrome and tried it in normal and incognito mode to no avail

This is a strange one to me. If anyone has any solutions to this, it would be greatly appreciated. Might also be worth to make this into a new thread

Firefox may have HTTPS only mode enabled. Check in Settings > Privacy and Security

Hmmm... Apparently you are using MacOS.

I remember a recent and very similar issue.
It was fixed after changing a MacOS Privacy setting:

That fixed it! I enabled the Local Network privacy setting on Mac settings for Chrome and Firefox and I can access the interface! Still can't access http://pi.hole/admin but I can live with that for now

Thank you again for the help

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