使用telnet时报如下错误:
[root@localhost zookeeper-3.4.14]# telnet 192.168.158.129 3888
Trying 192.168.158.129...
telnet: connect to address 192.168.158.129: No route to host
但是执行ping时却是正常的。
在所有机器上执行iptables -F
清除防火墙即可。
欢迎关注我的公众号“彤哥读源码”,查看更多“源码&架构&算法”系列文章, 与彤哥一起畅游源码的海洋。