Generalize settings to localhost