I have an LXD server v.3.0.3 where I prepare my custom LXD images. This server is located on LAN and not accessible from the Internet. I would like to copy the prepared images to another Internet-based LXD server (v.5.0.1).
I have configured the ‘remote’ on the local server and can communicate with the remote server: get the list of images, etc. The only problem is that I am not able to copy an image from the local server to the remote server:
lxc image copy local:1d9edfcb4406 updates: --copy-aliases Error: Failed remote image download: Failed to connect to LXD server "https://192.168.0.206:8443": Get "https://192.168.0.206:8443/1.0": Unable to connect to: 192.168.0.206:8443 ([dial tcp 192.168.0.206:8443: i/o timeout])
where 192.168.0.206 is the IP address of my local server.
According to the error message, the remote server tries to connect to the local server.
If so, then how can I avoid it?