Changing configurations

Hi,

I am using lxd within a Hyper V, and i keep generate new IPs with my interface.

i try to run lxd, but i keep getting this massage:
Bind network address: listen tcp 10.0.0.22:8443: bind: cannot assign requested address

lxd --debug --group lxd

INFO[07-17|15:04:25] LXD 4.3 is starting in normal mode path=/var/snap/lxd/common/lxd
INFO[07-17|15:04:25] Kernel uid/gid map:
INFO[07-17|15:04:25] - u 0 0 4294967295
INFO[07-17|15:04:25] - g 0 0 4294967295
INFO[07-17|15:04:25] Configured LXD uid/gid map:
INFO[07-17|15:04:25] - u 0 1000000 1000000000
INFO[07-17|15:04:25] - g 0 1000000 1000000000
INFO[07-17|15:04:25] Kernel features:
INFO[07-17|15:04:25] - netnsid-based network retrieval: yes
INFO[07-17|15:04:25] - pidfds: no
INFO[07-17|15:04:25] - uevent injection: yes
INFO[07-17|15:04:25] - seccomp listener: yes
INFO[07-17|15:04:25] - seccomp listener continue syscalls: yes
INFO[07-17|15:04:25] - unprivileged file capabilities: yes
INFO[07-17|15:04:25] - cgroup layout: hybrid
WARN[07-17|15:04:25] - Couldn’t find the CGroup blkio.weight, I/O weight limits will be ignored
WARN[07-17|15:04:25] - Couldn’t find the CGroup memory swap accounting, swap limits will be ignored
INFO[07-17|15:04:25] - shiftfs support: yes
INFO[07-17|15:04:25] Initializing local database
DBUG[07-17|15:04:25] Initializing database gateway
DBUG[07-17|15:04:25] Start database node address=10.0.0.22:8443 role=voter id=1
INFO[07-17|15:04:26] Stopping REST API handler:
INFO[07-17|15:04:26] - closing socket socket=/var/snap/lxd/common/lxd/unix.socket
INFO[07-17|15:04:26] Stopping /dev/lxd handler:
INFO[07-17|15:04:26] - closing socket socket=/var/snap/lxd/common/lxd/devlxd/sock
EROR[07-17|15:04:26] Failed to start the daemon: Bind network address: listen tcp 10.0.0.22:8443: bind: cannot assign requested address
INFO[07-17|15:04:26] Starting shutdown sequence
INFO[07-17|15:04:26] Stop database gateway
DBUG[07-17|15:04:26] Not unmounting temporary filesystems (containers are still running)
Error: Bind network address: listen tcp 10.0.0.22:8443: bind: cannot assign requested address

How do i change the settings with lxd’s configuration, so i can log with different IPs every time?

Looks like you have enabled clustering, clustering requires a stable IP address.