apache not accepting incoming connections from outside of localhost

前端 未结 11 1007
逝去的感伤
逝去的感伤 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:45

    Try with below setting in iptables.config table

    iptables -A INPUT -p tcp --dport 80 -j ACCEPT
    

    Run the below command to restart the iptable service

    service iptables restart
    

    change the httpd.config file to

    Listen 192.170.2.1:80
    

    re-start the apache.

    Try now.

提交回复
热议问题