code: def _findIPAddr(self):
          
          s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
          try:
              s.connect(("google.com", 0))
              addr = s.getsockname()[0]
              # print('Using ip : {addr}'.format(addr=addr))
              s.close()
          except socket.error:
              raise NetworkInterfaceException(
                  "Impossible to retrieve IP, please provide one manually"
              )
          return addr
docs: Retrieve the IP address connected to internet... used as
          a default IP address when defining Script
  
          :returns: IP Adress as String