support customized local addr through config.local