Hello. i was accessing with https://pi-hole/admin/ or http://192.168.1.57/admin/. when i try to enter i get 403 Forbidden error. what should i do?
Please follow the template.
Upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
pihole -d
or if you run your Pi-hole as a Docker container:
docker exec -it <pihole-container-name-or-id> pihole -d
where you substitute <pihole-container-name-or-id>
as required.
https://tricorder.pi-hole.net/8Qtejlxa/
Is that enough information?
Your log shows ports 80 and 443 are in use by lighttpd
, but Pi-hole v6 needs these ports free:
[✗] tcp:0.0.0.0:80 is in use by lighttpd
[✗] tcp:0.0.0.0:443 is in use by lighttpd
The 403 message is shown by lighttpd
, not Pi-hole.
You have 2 options:
-
Pi-hole v6 doesn't use
lighttpd
as web server. If you don't uselighttpd
to run other services, you can uninstall it and then restart Pi-hole:sudo apt remove lighttpd sudo systemctl restart pihole-FTL.service
-
If you don't want to uninstall
lighttpd
, you need to change the ports used by Pi-hole executing this command:sudo pihole-FTL --config webserver.port '8080o,8443so'
In this case, you will need to add the port to the URL (
http://192.168.1.57:8080/admin
)
I got access with the first option. thank you.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.