Apache | Integrating with Tomcat (mod_proxy_ajp) | Stop Port 8080 and Check the AJP/1.3 Protocol
To change access so it goes through Apache, prevent direct connections to Tomcat, which is currently running on port 8080.
For the configuration, open server.xml in {Tomcat installation directory}/conf with a text editor. Search for 8080, and you should find the following.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Comment out this entire section.
<!--
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
Now it is no longer possible to connect to Tomcat on port 8080.
After completing the configuration, restart Tomcat and try accessing http://localhost:8080/hello/helloworld in a browser.

Then search server.xml for the following content. It should appear when you search for AJP.
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
Apache will connect to Tomcat on port 8009 using the AJP/1.3 protocol.