example: enable listening port configuration and fix cfg.base