This site can’t be reached

Please follow the below template, it will help us to help you!

Expected Behaviour:

can use pihole dashboard on my local host
ubuntu 22.04 raspberry pi 4b 4gb

Actual Behaviour:

This site can’t be reached

The webpage at http://192.168.x.xxx:53/ might be temporarily down or it may have moved permanently to a new web address.

ERR_UNSAFE_PORT

Debug Token:

Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface

Where is your token?

1 Like

i run on docker

That doesn't prevent you from generating a debug log and posting the token URL.

1 Like

I'm curious why you would be trying to get to the admin page via port 53, the DNS communication port. The web site should be available at the default port, 80, unless you have changed it.

3 Likes

I found a problem my another device using the same port:80 how can I separate the port ??

A permanent method of changing the lighttpd port (for lighttpd version 1.4.46 or later):

Check your lighttpd version with this command.

lighttpd -v

If that returns 1.4.46 or above, you can overwrite the port from Pi-hole's lighttpd.conf in your external.conf like this:

server.port := 8888

Note that the := operator isn't supported in older versions of lighttpd .

1 Like

where is the lighttpd.conf?

1 Like

You shouldn't need to change those files.

As you are running a dockered Pi-hole, you should have no problems to configure your Docker container to map a custom port to Pi-hole's internal port 80.

1 Like

is there anyway to do this automatic port mapping ?

Just follow standard Docker procedures to map whatever from whatever port you want to your Pi-hole container's port 80.

1 Like