Make Nextcloud Snap listen to only 1 IP address

I have a server with Nextcloud installed using the snap package that works perfectly on 192.168.1.36

Now I wanted to install Pi-Hole on the same server (using Docker) and in order to avoid conflicts on port 80 and 443 I added a secondary IP address to my Ubuntu server and updated the docker-compose.yaml file to use only 192.168.1.37:80 (leaving untouched the Nextcloud ports).

The problem is after I did that, Nextcloud took control of both the IPs (.36 AND .37) making impossibile to install my docker-PiHole

So where should I say to Nextcloud to listen only to 192.168.1.36 and not to .37?