Categories: java, apache, tomcat, ajp

Outgoing connections from Tomcat behind AJP connector with HTTP Apache

1 answer

I have a Spring application in a Tomcat using the AJP connector with Apache httpd so that I can access directly the application through: https://example.com instead of https://example.com:9700.

The Spring application uses Spnego for kerberos communications.

Does the outgoing call pass through the HTTP Apache Server or will Tomcat handle it itself?

All answers to this question, which has the identifier 60735313

The best answer:

Outgoing connections have nothing to do with incoming ones, so the answer is no.

Unless you or your network happens to (configure or) force you to go through a proxy, the outgoing connection is directly between Tomcat and your target.

Why would there be a connection between "incoming through AJP" and "outgoing through http" (or through any protocol) anyway? AJP is just good for forwarding http, not as a generic VPN-like proxy.

Last questions

how do i remove the switch on my home screen?
how to edit the JS date and time to update atuomatically?
How to utilize data stored in a multidimensional array
Powermockito not mocking URL constructor in URI.toURL() method
Android Bluetooth LE Scanner only scans when phone's Location is turned on in some devices
docker wordpress container can't connect to mysql container
How can I declare a number in java that is more than 64-bits? [duplicate]
Optaplanner solutionClass entityCollectionProperty should never return null error when simple JSON object passed to controller
Anylogic, get the time a pedestrain is in a queue
How do I fix this syntax issue with my .flex file?
Optimizing query in PHP
How to find the highest number of a column and print two columns of that row in R?
Ideas on “Error: Type com.google.firebase.iid.zzav is referenced as an interface from com.google.firebase.messaging.zzd”?
JCIFS SmbFile.exists() and SmbFile.isDirectory() return false when it exists and I can listFiles()
PHP total order
Laravel booking system design
neural net - undefined column selected
How to indicate y axis does not start from 0 in ggplot?
Fragments in backStack
Spinner how to change the data