Before adding a remote host, first copy the client certificate and paste it into a new file on your remote LXD server such as lxdware.crt.
Import the certificate on your remote LXD server by running the command: lxc config trust add lxdware.crt
lxc config trust add lxdware.crt
For LXD hosts that are not part of a cluster, use the lxc config set core.https_address [::] command to listen for incoming connections.
lxc config set core.https_address [::]