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:47

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

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

Pi-Hole dns service is not starting or working
Attempted to do a repair but it's still not working
Follows a couple of things posted before related to this similar issue but it's still not working
Running on Ubuntu
Linux peridot 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Actual Behaviour:

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:47

Debug Token:

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

So I just rm -rf the /etc/pihole folder and then reinstalled along with a restore from backup. I'm backup and running, thanks for the help. You can close this out.

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