远程计算机无法使用 HTTPD

问题描述

我刚刚在 Centos 7 上安装了 Nagios。 我遵循了用于我的测试环境的相同程序。 test 和 prod 的唯一区别是服务器不是我准备的,而是自动配置的。 无论如何,我无法理解为什么无法访问 Nagios 网页(和 Apache 标准页面)。 我已经向网络团队检查了端口被阻止的情况,他们告诉我流量没有被阻止。

这台服务器有什么问题? 这是配置。

# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      1503/MysqLd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      12139/httpd
tcp        0      0 127.0.0.1:50000         0.0.0.0:*               LISTEN      616/oneagentwatchdo
tcp        0      0 127.0.0.1:50001         0.0.0.0:*               LISTEN      616/oneagentwatchdo
tcp        0      0 127.0.0.1:50002         0.0.0.0:*               LISTEN      616/oneagentwatchdo
tcp        0      0 127.0.0.1:50003         0.0.0.0:*               LISTEN      616/oneagentwatchdo
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1758/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1568/master
tcp6       0      0 :::22                   :::*                    LISTEN      1758/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      1568/master
udp        0      0 0.0.0.0:68              0.0.0.0:*                           837/dhclient
udp        0      0 127.0.0.1:323           0.0.0.0:*                           565/chronyd
udp6       0      0 ::1:323                 :::*                                565/chronyd

FirewallD 处于“非活动状态”。 即使处于活动状态,端口和服务列表也是:

# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  sources:
  services: dhcpv6-client http ssh
  ports: 80/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

Iptables 未安装,因此未激活

SELinux status:                 disabled

我仍然认为某处有一个街区,但我无法确定它可能在哪里。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)