RH網頁伺服器連不上(已檢查apache及iptable) - Linux

Table of Contents

我在 redhat linux 上裝了 apache,但是卻無法由瀏覽器連上主機
我做了下面的檢查但找不出原因
1. 檢查 apache status:
$sudo /etc/init.d/httpd status
主機回應:
httpd (pid 30588) is running...

2. 檢查 firewall:
$sudo /etc/init.d/iptables status
主機回應:
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
state NEW

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

看起來似乎一切正常?不知道各位有什麼建議?

--

All Comments

Rae avatarRae2011-04-23
netstat | grep 80 看看有沒有東西
Jessica avatarJessica2011-04-26
主機 80 port 的回應是什麼?
Thomas avatarThomas2011-04-26
只有:::80那代表只有IPv6有開到port
Genevieve avatarGenevieve2011-04-27
關掉 selinux 試試看
Tristan Cohan avatarTristan Cohan2011-04-29
先用telnet server_IP 80看看能不能連上吧