allow port to be overridden