I run virtualmin/webmin webservers, and tonight I was playing around with the straight up out of the box install Lucee using the installer on a freshly minted system. The installer works very very nice. I did not choose the CFM Module for Apache as last time I tried it, it broke virtualmins settings, so I went without it this time (was not hard to remove it).
After all was said and done, I could get the site to load using (yes, I changed it to port 8080):
https://127.0.0.1:8080/example/lucee/admin/index.cfm
But apache refused to connect. So I did some comparing of notes to how I use Tomcat on my other systems, for Virtualmin, there was 1 piece missing in the AJP connector. Lucee puts it in this way:
<Connector protocol="AJP/1.3"
port="8009"
secret="superlongstringofcharactersthatIhopeluceedoesnotreuse"
secretRequired="true"
redirectPort="8443" />
what is needed for it to work on a Virtualmin System (and I have not figured out why):
<Connector protocol="AJP/1.3"
address="::"
port="8009"
redirectPort="8443"
secretRequired="true"
secret="superlongstringofcharactersthatIhopeluceedoesnotreuse4"
packetSize="65536"
/>
You will see here there are 2 extra bits, the packetSize="65536"
is not needed, somewhere in the past I was reading tomcat optimization stuff and this was brought up. If someone more knowledgeable in the Tomcat department can elaborate (as I have forgotten) if it is really useful or not, please do.
The important bit that is needed is the address="::"
I do not know if adding this to the installer will bork it on other systems, but I think a note in the installer docs (or even the server.xml file) to add that may solve connection issues, especially if you apache error log is spitting out:
Fri Jun 06 02:10:09.555730 2025] [proxy_ajp:error] [pid 109044:tid 109048] [remote 192.168.1.4:32830] AH00896: failed to make connection to backend: test.example.com
[Fri Jun 06 02:10:09.555599 2025] [proxy:error] [pid 109044:tid 109048] (111)Connection refused: AH00957: AJP: attempt to connect to 192.168.1.4:8009 (test.example.com:8009) failed