^C[root@admin001 etcd-v3.0.12-linux-amd64]./etcdctl cluster-health
cluster may be unhealthy: failed to list members
Error: client: etcd cluster is unavailable or misconfigured
error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused
error #1: dial tcp 127.0.0.1:4001: getsockopt: connection refused
这是啥子情况,防火墙关了,网络也正常,看了下网上说的修改etcd的配置文件:vim /etc/etcd/etcd.conf
ETCD_LISTEN_CLIENT_URLS="http://192.168.7.78:2379,http://127.0.0.1:2379"后面配置http://127.0.0.1:2379,与本机自己进行通信
重启后好像也没啥效果,求解,谢谢
nohup.out 有个超时的错误etcdserver: publish error: etcdserver: request timed out