A permanent way to change the lighttpd port is:
https://discourse.pi-hole.net/t/lighttpd-daemon-wont-start/44985/13