Turn off the firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #Prohibit firewall from starting
firewall -cmd --state #View the default firewall status (notrunning is displayed when it is closed, and running is displayed when it is opened)