configuration and startup for two port addresses or Redis