I think you should keep localhost for the config file as it is usually the case