推 hukhuk:先關閉iptables再測試以確認是否為iptables的問題 07/04 18:19
推 ago1414:1. service iptables stop 07/04 20:16
→ ago1414:2. service httpd start 07/04 20:17
→ ago1414:3. pstree -pu | grep httpd 07/04 20:17
→ ago1414:4. netstat -anp | grep 80 07/04 20:17
→ ago1414:先關防火牆 啟動httpd 查看網路開啟port 07/04 20:18
→ ago1414:排除httpd 問題再去調整iptables 07/04 20:18
→ ago1414:5. 把SELINUX 關閉 測試看看 07/04 20:18
→ stator:樓上二位前輩,我用Ubuntu,好像不能直接關閉iptables 07/04 20:52
推 trumpete:不能關閉就下 iptables -t filter -F 07/04 21:05
→ stator:查了網路,Ubuntu預設是沒有防火牆和selinux的~我裝server 07/04 21:06
→ stator:t大,這是把我下的2條規則都清了~ 07/04 21:09
→ stator:因我是為了要測試這2條規則在input 設為drop下能否啟動web 07/04 21:10
推 trumpete:你可以先清掉,再下那兩條規則。要不然常常先被擋了 07/04 22:36
→ trumpete:對了,我很嫩 XD RHCE 年齡才一星期多一點 還是別亂回 07/04 22:37
→ kdjf:aa-status 有apache2的內容嗎? 07/05 10:19