linux系统tomcat启动正常访问不到主页面

时间:2025-01-24 22:06:08
环境:
  linux系统
  tomcat 6.0.24
  jdk 1.6
防火墙的问题:
  查看防火墙命令:chkconfig --list | grep -i iptables
  关闭防火墙命令:/sbin/service iptables stop
[root@etl01 bin]# ./shutdown.sh                         ======shut down tomcat
Using CATALINA_BASE: /java/apache-tomcat-6.0.
Using CATALINA_HOME: /java/apache-tomcat-6.0.
Using CATALINA_TMPDIR: /java/apache-tomcat-6.0./temp
Using JRE_HOME: /usr/java/jdk1..0_22
Using CLASSPATH: /java/apache-tomcat-6.0./bin/bootstrap.jar
[root@etl01 bin]# ./startup.sh ======start tomcat
Using CATALINA_BASE: /java/apache-tomcat-6.0.
Using CATALINA_HOME: /java/apache-tomcat-6.0.
Using CATALINA_TMPDIR: /java/apache-tomcat-6.0./temp
Using JRE_HOME: /usr/java/jdk1..0_22
Using CLASSPATH: /java/apache-tomcat-6.0./bin/bootstrap.jar
[root@etl01 bin]# chkconfig --list | grep -i iptables ====check fire wall
iptables :off :off :on :on :on :on :off
[root@etl01 bin]# /sbin/service iptables stop ====stop fire wall
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: nat filter [ OK ]
Unloading iptables modules: [ OK ]

本文转自:http://www.2cto.com/os/201211/165408.html