I am trying to connect to a LXD remote from another machine. ufw is disabled. When I do: lxc remote add babylon 192.168.1.10:8443
I get this error:
Error: Get "https://192.168.1.10:8443": Unable to connect to: 192.168.1.10:8443 ([dial tcp 192.168.1.10:8443: connect: connection refused])
I run this on the server: lxc monitor --type=logging --pretty
. Which gives me this output:
DEBUG [2022-08-17T12:04:41Z] Heartbeat updating local raft members members="[{{1 192.168.1.10:8443 voter} babylon}]"
DEBUG [2022-08-17T12:04:41Z] Starting heartbeat round local="192.168.1.10:8443" mode=normal
DEBUG [2022-08-17T12:04:41Z] Completed heartbeat round duration=4.091455ms local="192.168.1.10:8443"
sudo netstat -ltpn | grep lxd
gives me this:
tcp 0 0 192.168.1.10:8443 0.0.0.0:* LISTEN 3436/lxd
and curl 192.168.1.10:8443
gives me this:
curl: (7) Failed to connect to 192.168.1.10 port 8443 after 12 ms: Connection refused
lxc config show
:
config:
cluster.https_address: 192.168.1.10:8443
core.https_address: 192.168.1.10:8443
I have no added IPTABLES rules.
But why I cannot get to add this remote?