ZenOSS 网页界面连接

ZenOSS 网页界面连接

我在使用 ZenOss 时遇到了问题。我在 Centos 5.5 x64 上安装了 centos stack 安装程序。安装成功,没有显示任何错误。但是当我尝试访问 IP 地址时,它没有响应。然后我向 iptables 防火墙添加了例外。但仍然没有响应。有人能告诉我可能还有什么问题吗?

我使用这些行作为防火墙例外

iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 8080 -j ACCEPT

The output of iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:webcache 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp spt:webcache 

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            icmp any 
ACCEPT     esp  --  anywhere             anywhere            
ACCEPT     ah   --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

答案1

iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT

或者

iptables -I RH-Firewall-1-INPUT 7 -p tcp --dport 8080 -j ACCEPT

或者编辑 /etc/sysconfig/iptables

相关内容