apache not accepting incoming connections from outside of localhost

前端 未结 11 1026
逝去的感伤
逝去的感伤 2020-12-04 05:59

I\'ve booted up a CentOS server on rackspace and executed yum install httpd\'d. Then services httpd start. So, just the barebones.

I can ac

11条回答
  •  情话喂你
    2020-12-04 06:55

    this is what worked for us to get the apache accessible from outside:

    sudo iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
    sudo service iptables restart
    

提交回复
热议问题