如何将Tomcat配置为仅侦听127.0.0.1?


24

环境是从存储库中运行Tomcat 6和Apache 2.2的Ubuntu 10.04.1 LTS。Apache已配置为将请求代理到Tomcat,因此我真的想关闭Tomcat侦听外部IP地址上的请求。

我发现了如何使用Connector标签更改/etc/tomcat6/server.xml中的端口号,但这不是我所需要的。

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.