Issue 6599 port conflict autocluster

related with this enterprise pull https://github.com/dotCMS/enterprise-2.x/pull/227