fix user address to use config.mainPort, not config.portalPort