I've a tomcat server that is fronted by an apache server, both running on the same machine. In the apache httpd.conf, I see this:
ProxyRequests Off
ProxyPass /MACS ajp://10.50.3.23:38009/MACS retry=0 timeout=20000
In Tomcat server.xml, I see this:
<Connector port="38080" protocol="HTTP/1.1"
connectionTimeout="20000"
maxHttpHeaderSize="16384"
redirectPort="38443" xpoweredBy="false" server="Apache TomEE" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="38009" protocol="AJP/1.3" redirectPort="38443" />
I see no connector setup for port 38443 in server.xml. So, when I access the apacheserver/MACS link, how does the tomcat ajp connector knows to forward it to 38080? (Note: The site work and the MACS application is running in the tomcat server. So, I'm assuming that somehow the traffic got forwarded to 38080.)