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
版权声明:本文标题:异常:java.net.ConnectException: Connection timed out: no further information 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728547623a1163066.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论