使用 HTTP Apache 的 AJP 连接器后面的 Tomcat 传出连接

Outgoing connections from Tomcat behind AJP connector with HTTP Apache

我在 Tomcat 中有一个 Spring 应用程序,使用 AJP 连接器和 Apache httpd,这样我就可以通过以下方式直接访问该应用程序:https://example.com 而不是 https://example.com:9700 .

Spring 应用程序使用 Spnego 进行 kerberos 通信。

去电是通过 HTTP Apache 服务器还是 Tomcat 自行处理?

传出连接与传入连接无关,所以答案是否定的。

除非您或您的网络碰巧(配置或)强制您通过代理,否则传出连接直接位于 Tomcat 和您的目标之间。

为什么 "incoming through AJP" 和 "outgoing through http" 之间会有连接(或通过任何协议)? AJP 仅适用于 转发 http,而不是作为通用的类似 VPN 的代理。