Use localhost, not os.hostname