Tomcat问题。http://localhost:8080不能打开,但是http://127.0.0.1:8080却可以打开
Tomcat问题。
http://localhost:8080不能打开,但是http://127.0.0.1:8080却可以打开
IDE是MyEclipse9.0 Tomcat是6.0免安装版(7.0也试过,也不行) jdk 1.6
Tomcat conf下的server.xml配置都是正确的。
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
8080端口也没有被占用
localhost 也是配置为127.0.0.1的。
不知道为什么会出现这样的情况。
以前从未出现过。
另外昨天发的贴,怎么不见了?