I don't know, I had Nextcloud for a year on a local network and I didn't have to set an address. The bigger problem was that some applications do not accept self-signed SSL, so I had to change their code, and I don't really know how to code for Android...