Hi,
@bege said in Option to change the IP address for the server:
Re: Update the Server URL
This topic is rather old, that’s why I open a new one.
Please also see https://forums.bitfire.at/topic/1066/update-the-server-url – the arguments are still valid, nothing has changed about changing the URLs.
I use DAVx5 to sync my Android phone with my Windows notebook in a local network. On the notebook there is a Radicale server. That works fine as long as the devices are in my own Wifi network with a not changing IP address of the notebook.
My recommendation is to use a host name. Wouldn’t that be a solution?
So I very much endorse an option to change the IP address. As long as DAVx5 does not offer such an option, is there a way to do it manually (on a rooted phone)?
There are many URLs involved at different places (another reason why it’s not easily possible to change the URL). In theory, you can change the URLs in the DAVx5 database (DAVx5 directory / files / databases / the only one which is there), plus in the DAVx5 address book accounts user data (Android account database), plus in the calendars in the respective columns (Android calendar storage provider).
I’m sure that it would take much more time than to delete the account and add it with the new host name again, which should take about ~ 1 min (for me, it takes about 5 sec, but I’m used to testing), and if you forget only one entry, everything may behave inconsistently.