code: def _get_private_ip_from_socket():
      s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
      s.settimeout(0)
      try:
          s.connect(("8.8.8.8", 1))
          ip = s.getsockname()[0]
      except Exception as e:
          raise e
      finally:
          s.close()
      return ip
  
file_path: clearml/clearml/utilities/networking.py
imports: import requests
  import socket
  import subprocess
  from typing import Optional
label_desc: Use image node_id 4 for calling a global function with example usage: _get_private_ip_from_socket() and returns: ip