Use port if set in the environment