You'd rather use the Boxen env variable for this and || it with the default ES port