有没有configuration设置我需要修改某处为此工作?
检查你的服务器configuration。
如果地址variables设置为127.0.0.1,则无法通过其他地址访问。
将其更改为您的IP地址。
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
应该在conf / server.xml中。
也可能是您的应用仅限于某些主机。
检查点10这个链接: http : //oreilly.com/pub/a/java/archive/tomcat-tips.html?page=2
希望这可以帮助你。
我有同样的问题,并且tomcat返回了状态400.这是因为我的tomcat安装没有以下目录:tomcat \ webapps \ ROOT
在这个目录下面是当请求http:// localhost:8081时正在查找的index.html。
只是别的要检查。