Admin interface not reachable

Hi there

thanks for sharing this interesting project. New to this section I'm having an issue.
Followed the installation and everything worked smoothly.
Now changed everything on my router and as I see some pages it works.
But anyway I just wanted to checkout the admin interfaces / dashboard.
Tried with the ip and even with the http://pi.hole/admin but i got ERR_ADDRESS_UNREACHABLE.

My debug token is: uoinfa2yma

Any idea on that?

Can you get to it with the IP address instead?

It seems your querie for pi.hole are blocked from /etc/pihole/local.list.

He already tried to reach the webinterface with the IP.

Hmm not the first mistake or oversight I've made today.

From your debug log everything seems to work fine in your Pi-hole. There are also some requests which come from a client with the IP 192.168.1.1 in your debug log (including one request for pi.hole which was correctly answered). Is this your computer (or your router)?

Up to now it seems like pi.hole can successfully be resolved but the connection is blocked (hence it also doesn't work via its IP).

  • What system is your Pi-hole working on? A Raspberry PI?
  • Do you have any other software installed which may try use port 80 itself?
  • Can you ssh into your Raspberry Pi?

Hi

1.1 is my router yes.
I'm running on a raspberry, clean install only pi-hole on it. Means nothing else tries to block port 80.

Yes I', able to connect with ssh.
pi@raspberrypi:~ $ pihole -v
::: Pi-hole version is v2.11.2 (Latest version is v2.11.2)
::: Web-Admin version is v2.3.1 (Latest version is v2.3.1)

pi@raspberrypi:~ $ pihole status
::: DNS service is running
::: Pi-hole blocking is Enabled

pinging the pi.hole results are okay

ping pi.hole
PING pi.hole (192.168.1.126): 56 data bytes
64 bytes from 192.168.1.126: icmp_seq=0 ttl=64 time=1.720 ms
64 bytes from 192.168.1.126: icmp_seq=1 ttl=64 time=3.127 ms
64 bytes from 192.168.1.126: icmp_seq=2 ttl=64 time=2.090 ms

Hmm, this is quite mysterious that you can ping the Pi via its IP + its host name but you cannot access the web interface, although in your debug log it states that the web server lighttpd was running.

By any chance, have you tried using either another router or accessing it from another device (also smartphone, ...)?

Could you run the following on your Raspberry Pi?

curl -I 127.0.0.1

you should see something like

HTTP/1.1 200 OK
X-Pi-hole: A black hole for Internet advertisements.
Content-type: text/html; charset=UTF-8
Date: Wed, 11 Jan 2017 11:40:31 GMT
Server: lighttpd/1.4.35

If you have another linux computer at hand, you could repeat that like

curl -I pi.hole        (or use the IP address)

Problem with lighttpd?
Try apt-get install php5-cgi lighttpd". Then enable fast-cgi: "lighttpd-enable-mod fastcgi"
At last "/etc/init.d/lighttpd restart"

$ lighttpd-enable-mod fastcgi
already enabled
Run /etc/init.d/lighttpd force-reload to enable changes

did it even if it was already enabled :smiley:

thanks for that

I've got a similar problem:
When I'm trying to connect over the ip address, I get the error message "ERR_CONNECTION_REFUSED"
Accesssing the interface with http://pi.hole/admin doesn't work at all, because the DNS server can't be found ("ERR_NAME_NOT_RESOLVED")
Has anyone got an idea (I'm quite new to raspberry, so I don't myself)

EDIT:

  1. I can ping the pi with its ip address, but not with pi.hole
  2. When I'm trying to access over my router I get the following message:

Access to the following site has been blocked:
192.168.178.74
If you have an ongoing use for this website, please ask the owner of the Pi-hole in your network to have it whitelisted.
This page is blocked because it is explicitly contained within the following block list(s):
Go back Whitelist this page Close window
Generated Sun 11:48 AM, Jan 15 by Pi-hole v2.11.2

When you say access over your router, what do you mean? The block page means that it can't find the page you requested. Run pihole -d for a debug token.

Maybe lighttpd is not installed or it is not running

1 Like

I reinstalled it already and then restarted the pi

I mean in my lokal network
When I look at the log and try to accesss the local ip nothing happens

Which OS are you using? Do you have any other webserver running on pi? And what do you get if you enter sudo ls -alh /var/log/lighttpd?

Usually you won't be able to access pi.hole except in your local network, unless you mean something else?

@Mcat12

Does the DHCP server on the pihole run by default?

I recently did a fresh installation to try it out, and several devices are no longer showing up under my routers "attached devices" tab.

Is there a specific way I need to network the devices (pi + router) to get it to function properly? The website does not make it obvious how to physically connect them together.

Edit: Sorry for the necro

The DHCP server runs as part of dnsmasq, so if Pi-hole is blocking ads it should also be running DHCP. This is all assuming you've set up DHCP already and have it enabled in the Pi-hole settings. Otherwise, it would not be running if you did not enable it.

Thanks!
My problem was solved with the command
sudo service lighthttpd restart

2 Likes