环境:
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.24 Using CATALINA_HOME: /java/apache-tomcat-6.0.24 Using CATALINA_TMPDIR: /java/apache-tomcat-6.0.24/temp Using JRE_HOME: /usr/java/jdk1.6.0_22 Using CLASSPATH: /java/apache-tomcat-6.0.24/bin/bootstrap.jar [root@etl01 bin]# ./startup.sh ======start tomcat Using CATALINA_BASE: /java/apache-tomcat-6.0.24 Using CATALINA_HOME: /java/apache-tomcat-6.0.24 Using CATALINA_TMPDIR: /java/apache-tomcat-6.0.24/temp Using JRE_HOME: /usr/java/jdk1.6.0_22 Using CLASSPATH: /java/apache-tomcat-6.0.24/bin/bootstrap.jar [root@etl01 bin]# chkconfig --list | grep -i iptables ====check fire wall iptables 0:off 1:off 2:on 3:on 4:on 5:on 6: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