参考网址:如何关闭防火墙
关闭防火墙:
systemctl stop firewalld
打开防火墙
systemctl start firewalld.service
查看 ip地址
ifconfig
打开浏览器(不在虚拟机,只要能 ping 通)