Hello ,
I'm tryinh to run the pi-hole on my ubuntu 18.04 server
everything is update
the installation went without any problems
coulnd't enter the web interface
I have check the follwing:
- port 80 is open
sudo netstat -tulpn | grep LISTEN
tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 4627/pihole-FTL
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 731/rpcbind
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7238/lighttpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4627/pihole-FTL
tcp 0 0 10.129.10.171:53 0.0.0.0:* LISTEN 4627/pihole-FTL
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1081/sshd
tcp6 0 0 ::1:4711 :::* LISTEN 4627/pihole-FTL
tcp6 0 0 :::111 :::* LISTEN 731/rpcbind
tcp6 0 0 :::80 :::* LISTEN 7238/lighttpd
tcp6 0 0 ::1:53 :::* LISTEN 4627/pihole-FTL
tcp6 0 0 fe80::17ff:fe05:9653:53 :::* LISTEN 4627/pihole-FTL
tcp6 0 0 :::22 :::* LISTEN 1081/sshd
- pi hole is working
pihole status
[✓] DNS service is listening
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[✓] Pi-hole blocking is enabled
- lighttpd is up and working
systemctl status lighttpd.service
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-07-12 09:29:58 UTC; 9min ago
Process: 7210 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 7238 (lighttpd)
Tasks: 6 (limit: 4915)
CGroup: /system.slice/lighttpd.service
├─7238 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
├─7249 /usr/bin/php-cgi
├─7253 /usr/bin/php-cgi
├─7254 /usr/bin/php-cgi
├─7255 /usr/bin/php-cgi
└─7256 /usr/bin/php-cgi
Jul 12 09:29:58 pi-hole1 systemd[1]: Starting Lighttpd Daemon...
Jul 12 09:29:58 pi-hole1 systemd[1]: Started Lighttpd Daemon.
- it's seem that something is working
ubuntu@pi-hole1:~$ curl -I 127.0.0.1
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Expires: Mon, 12 Jul 2021 09:39:57 GMT
Cache-Control: max-age=0
Date: Mon, 12 Jul 2021 09:39:57 GMT
Server: lighttpd/1.4.45
what else could it be ?
when I try to enter telnet from the server (127.0.0.1 or the IP 10.129.10.171)
I don't get a reply , also from outside
- I have check the firewall it's down
ubuntu@pi-hole1:~$ sudo ufw status
Status: inactive
I have run debug
Your debug token is: https://tricorder.pi-hole.net/80kghqhuem
I'm trying for 3 hours now (tried all kind of linux version 18.04,18.05 ,20.x) - I get the same problem in all of them..
last week I have install on pi-4 , work like a charm in less then 5 min
I have change the port to 8082
using
sudo nano /etc/lighttpd/lighttpd.conf
server.port = 8082
and I can see it's working
curl -I 127.0.0.1:8082
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Expires: Mon, 12 Jul 2021 10:18:19 GMT
Cache-Control: max-age=0
Date: Mon, 12 Jul 2021 10:18:19 GMT
Server: lighttpd/1.4.45
added also this rule jsut to be sure
sudo ufw allow 8082/tcp
but still nothing , can't reach it
Thanks,