the port is required to run so fail early if it's not set.