support private host file, use json config file