Fixed issue where localhost wasn't used for configuration