Tomcat大哥,救救小妹

我在Windows2000 Professional环境下装完tomcat4.1.12,路径为d:\tomcat,启动tomcat,打开IE,在地址栏输入http://127.0.0.1:8080/index.jsp正常运行,但输入http://localhost:8080/index.jsp就不能正常运行(找不到网页),为什么?
---------------------------------------------------------------

localhost没在 server.xml中定义
---------------------------------------------------------------

tomcat/conf/server.xml:

1<host appbase="webapps" autodeploy="true" debug="0" name="localhost" unpackwars="true">   
2\---------------------------------------------------------------   
3  
4can you ping your localhost? If not, add localhost to your hosts file.   
5  
6\---------------------------------------------------------------   
7  
8你的本地路由表坏了!!!!!</host>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus