systemctl stop firewalld 关闭防火墙,或者在防火墙规则中允许8080端口被访问。firewalld中默认是开放了icmp端口的,所以你外部能ping通。
防火墙关了吗?
可以使用以下命令关闭防火墙:
service iptables stop chkconfig iptables off service ip6tables stop chkconfig ip6tables off service iptables status
systemctl stop firewalld.service systemctl disable firewalld.service systemctl status firewalld.service