linux tomcat启动了但在浏览器上访问不到

1.在linux上输入ps axf|grep tomcat查看tomcat的服务是否启动了

[root@LuoHong logs]# ps axf|grep tomcat
17534 pts/0 S+ 0:00 \_ grep tomcat
17513 pts/0 Sl 0:03 /usr/java/jdk1.7.0_17/bin/java -Djava.util.logging.config.file=/usr/local/tomcat1//conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/local/tomcat1//endorsed -classpath /usr/local/tomcat1//bin/bootstrap.jar:/usr/local/tomcat1//bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat1/ -Dcatalina.home=/usr/local/tomcat1/ -Djava.io.tmpdir=/usr/local/tomcat1//temp org.apache.catalina.startup.Bootstrap start

正常情况应该会有两个

2. # iptables -X

3. # iptables -F

你可能感兴趣的:(tomcat)