I was able to solve the issue, I put static IP as 10.0.0.2 and the application started to work, I also had to change it on the raspberry pi to 10.0.0.2. I did make the edit during the installation so it can work with .5 but that didn't work, leaving it all default with the default .2 allowed me to connect. I would try to see if you can look more into this issue,
Issue
Changed static IP of pi to 10.0.0.5
Change pi hole static IP to match pi IP to 10.0.0.5
Steps I did to solve
change static IP form 10.0.0.5 to 10.0.0.2
Reinstall pihole and left everything default.