使用dubbo报错 org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
1.检查 提供方和消费方的address是否正确
<!-- 指定注册中心的地址 -->
<dubbo:registry address="zookeeper://192.168.25.128:2181"></dubbo:registry>
2:可能原因服务器防火墙未关闭