How do I change the port of pihole?

How do I change the port 80 to 8085 for pihole?

I want to install pivccu3 and need port 80 for the ccu3 if I understand correctly.

You mean for the web interface? You would need to change the listening port of your web server. What web server do you use?

I had dietpi install pihole.

How do I see which web server I have?

you can check your installed software with dietpi-software.

i have this plus iobroker:

So you are using apache.
See this github issue for how to change the port:
https://github.com/MichaIng/DietPi/issues/4880#issuecomment-948677692