【问题标题】:Service apache2 is running but not responding CentOS [closed]服务 apache2 正在运行但没有响应 CentOS [关闭]
【发布时间】:2016-04-26 01:47:12
【问题描述】:

我尝试在 LAN 上运行 CentOS Apache2 / PHP / MySQL 服务器(使用 10.x.x.x IP)。

操作系统:CentOS 6.7 版(最终版)

我检查了服务是否正在运行,它们仍在工作。

[root@srv-annuaire-01 ~]# /etc/init.d/httpd status
httpd (pid  2542) en cours d'exécution... *(running)*
[root@srv-annuaire-01 ~]# /etc/init.d/mysqld status
mysqld (pid  1795) en cours d'exécution... *(running)*

编辑:那是阻止我们的服务 iptables。

【问题讨论】:

    标签: php mysql centos apache2 freetds


    【解决方案1】:

    在apache2配置文件中添加

    listen port_no 
    

    /etc/init.d/iptables stop
    

    然后重启你的服务器

    【讨论】:

      猜你喜欢
      • 2022-01-22
      • 2016-09-28
      • 2021-01-30
      • 1970-01-01
      • 1970-01-01
      • 2012-12-28
      • 2021-07-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多