admin管理员组

文章数量:1608630

异常:java.ConnectException: Connection timed out: no further information

Zookeeper注册中心连接超时

原因1:可能是注册中心所在的计算机【Linux ContOS7】的防火墙未关闭。

解决方法:关闭防火墙

centOS7 防火墙的开启、关闭、禁用命令

(1)设置开机启用防火墙:systemctl enable firewalld.service

(2)设置开机禁用防火墙:systemctl disable firewalld.service

(3)启动防火墙:systemctl start firewalld

(4)关闭防火墙:systemctl stop firewalld

(5)检查防火墙状态:systemctl status firewalld
 

原因2:虚拟机上的Linux系统中的jdk版本不行,重新安装jdk1.8

本文标签: 异常NETJavaConnectExceptiontimed