欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Tomcat No route to host

程序员文章站 2024-03-13 23:26:22
...

org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberAlive
严重: Unable to perform. failure detection check, assuming member down.
java.net.NoRouteToHostException: No route to host

防火墙对应的Tomcat端口未开放引起的,只要添加端口就OK了

centos :

/etc/init.d/iptables status
vi /etc/sysconfig/iptables 
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8081 -j ACCEPT

Ubuntu:

sudo ufw allow 8080


转载于:https://my.oschina.net/GoogleFan/blog/517919