How to change static IP

You’re missing the main issue that they both use lighttpd.

After a short google with these terms: pihole flightaware

You’re making this all terribly too complicated.
Make them both work, use /dump1090-fa and ignore port 8080 …