class_docstr: A data class to store host connection-related data.
  
  Args:
      hostname (str): name or IP address of the host
      port (str): the port for ssh connection
code: def __init__(
      self,
      hostname: str,
      port: str = None,
  ):
      self.hostname = hostname
      self.port = port
      self.is_local_host = HostInfo.is_host_localhost(hostname, port)
  
file_path: colossalai/colossalai/cli/launcher/hostinfo.py
imports: import socket
label_desc: Use image node_id 1 to create a new HostInfo object  with example: obj = HostInfo(hostname, port)