首页 > 代码库 > centOS开启apache无法让外网访问:开启80端口

centOS开启apache无法让外网访问:开启80端口

iptables -I INPUT 1 -i eth0 -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
service iptables save
service iptables restart

 

centOS开启apache无法让外网访问:开启80端口