Fix setting for 'localhost'.