我遇到这个问题是因为防火墙没有关闭,可以使用systemctl status firewalld进行查看当前虚拟机防火墙是否在运行 使用systemctl stop firewalld,当再次查看变为dead状态即可