I have few questions regarding the Apache HTTPD server and the Tomcat web server port configurations.
TOMCAT/conf/server.xml I understand that:
- 80 and 443 ports are used by Apache for HTTP and HTTPS requests respectively.
- 8080 and 8443 ports are used by Tomcat for HTTP and HTTPS requests respectively.
- There is one more Connector port="8009" using the "AJP/1.3" protocol. (AJP connector is used for cases where you wish to invisibly integrate Tomcat 4 into an existing (or new) Apache installation)
How is the 8009 port interrelated with the Apache and Tomcat ports? Does this mean how the requests are interchanged between the connector, Apache, Tomcat, etc.?
What is starting this AJP connector (Tomcat or Apache)?
Because even when Apache is started; I am NOT seeing a socket listening at 8009. But this is the port mentioned at
I think after Tomcat is started this port is available.
server.xmlwhat is the purpose of redirectPort 8443?
<Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />