Pihole Webpage not accesible

Expected Behaviour:

Hi everyone, I'm trying to get Pihole running on my Raspberry Pi 3b. Everything's updated so far. I'm running FlightRadar24 in parallel, which isn't causing any problems, but I need to change the access port for Pihole (81). I did this using sudo nano /etc/lighttpd/lighttpd.conf (see attached image). Unfortunately, it doesn't seem to be working.


Actual Behaviour:

As soon as I try to go to the link: http://raspberry-ip/admin/login, I get: 404 not found.

Thanks a lot for your support!

Debug Token:

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

Your debug log shows you are running lighttdp on port 81 and Pi-hole v6 on port 80:

[✓] tcp:0.0.0.0:80 is in use by pihole-FTL
    tcp:0.0.0.0:81 is in use by lighttpd

What do you see when you try http://192.168.178.75/admin ?

1 Like

OK, if I use your link without a specific Port everything works fine. Thanks a lot! But how can I change the port correctly (if needed)? :sweat_smile:

If you need to change the port, use this command:

sudo pihole-FTL --config webserver.port '80o,443so'

Replace ports 80 and 443 with the desired ports.

Note:
You need to use a different port than the port used by lighttpd.

1 Like

Thank you for your help! So why use Lighttpd with Pihole? Or is it not even needed here? :sweat_smile:

Pi-hole v6 doesn't need lighttpd. You can uninstall it if you are not using it.

1 Like