当前位置: 技术问答>linux和unix
tomcat 连接被拒绝
来源: 互联网 发布时间:2015-09-07
本文导语: REDHAT9.0,TOMCAT 5.5.7,JDK4.2.06 启动TOMCAT时, Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TEMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/local/jdk 然后,我在地址栏输入:http://127.0.0.1:8080...
REDHAT9.0,TOMCAT 5.5.7,JDK4.2.06
启动TOMCAT时,
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TEMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk
然后,我在地址栏输入:http://127.0.0.1:8080
结果报错:当试图与127.0.0.1:8080联系时,连接被拒绝
/var/log/cups/error_log没有记录
/var/log/cups/access_log 显示:
localhost - - [02/Feb/2005:16:02:31 +0800] " POST / HTTP/1.1" 200 222
希望有人能告诉我可能那里有错。
启动TOMCAT时,
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TEMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk
然后,我在地址栏输入:http://127.0.0.1:8080
结果报错:当试图与127.0.0.1:8080联系时,连接被拒绝
/var/log/cups/error_log没有记录
/var/log/cups/access_log 显示:
localhost - - [02/Feb/2005:16:02:31 +0800] " POST / HTTP/1.1" 200 222
希望有人能告诉我可能那里有错。
|
是不是redhat9的防火墙的原因?
|
防火墙的问题,关了它
|
默认的context是什么,是不是403 forbidden那样的错误