use flag to get redis host and port
select 2 as default