With Gradle you don't need to worry about that (the doc needs some update).
Simply define the ports to use with "--portoffset myPortNumber"
The official OFBiz demos run on the same VM, you can find the config used for
the stable release (R16) in
https://github.com/apache/ofbiz-tools/blob/master/demo-backup/stable-manual.sh
HTH
Jacques
Le 13/12/2019 à 13:31, Bagas Sanjaya a écrit :
Hello all,
I'd like to run two OFBiz instances; one for demo and one for production. For production instance, I stick with default HTTPS port (8443). For demo,
however, I had to choose other port in order to avoid conflict with production.
On Technical Production Setup Guide [1], port numbers are defined on ofbiz-containers.xml file. Unfortunately, I didn't find the mentioned file on
my instance (as I use git repo instead). How can I define different HTTPS port?
Bagas
[1]:
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide