AF-1597 Set port via god environment method.