Error: "There was a problem applying your settings. Debugging information: PHP error (2): fsockopen()

The issue I am facing:
Full error: There was a problem applying your settings. Debugging information: PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:43"

After maybe 5-10 min, pihole gives "dns server not running," status. Rebooting resolves for a few minutes each time.

Details about my system:
Pi3b, Raspbian 11, PiVPN, Unbound, Homebridge

What I have changed since installing Pi-hole:
Fresh pihole install with new SD card. Had an issue with a full SD card because of logs, couldn't get any logs to flush so I grabbed a different SD card and fresh installed everything. Thats when this issue began.
Can't find anything using port 4711, not knowledgeable enough to resolve myself after scouring the internet for help.

Debug: https://tricorder.pi-hole.net/rJc5wtxU/

thanks

Your debug log doesn't show any PHP errors and it shows that port 4711 is being used by pihole-FTL as we expect.

   [2022-08-13 18:15:32.389 758M] listening on 0.0.0.0 port 53
   [2022-08-13 18:15:32.389 758M] listening on :: port 53
   [2022-08-13 18:15:32.394 764M] PID of FTL process: 764
   [2022-08-13 18:15:32.396 764/T767] Listening on Unix socket
   [2022-08-13 18:15:32.395 764/T765] Listening on port 4711 for incoming IPv4 telnet connections
   [2022-08-13 18:15:32.396 764M] INFO: FTL is running as user pihole (UID 999)
   [2022-08-13 18:15:32.397 764M] Reloading DNS cache
   [2022-08-13 18:15:32.399 764/T766] Listening on port 4711 for incoming IPv6 telnet connections

Where do you see the PHP error displayed?

I saw the error at the top of the settings menu.
More issues have developed so I’m trashing this install and starting over again. This topic can be deleted.
Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.