Fix "locahost" typo, adjust init method's use of default host