可以从本机访问80端口, 但是不能从外部
解决:
插入一条规则
iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
然后保存设置
service iptables save