port setting is overridden by environment settings