()
return ips
Return all the IPs from current machine.

   Example:
      >>> Util.getMachineIP()
      ['200.12.124.181', '192.168.0.1']

   :rtype: a python list with the string IPs
Return all the IPs from current machine.
Return all the IPs from current machine .
def getMachineIP():
   """ Return all the IPs from current machine.

   Example:
      >>> Util.getMachineIP()
      ['200.12.124.181', '192.168.0.1']

   :rtype: a python list with the string IPs

   """
   hostname = socket.gethostname()
   addresses = socket.getaddrinfo(hostname, None)
   ips = [x[4][0] for x in addresses]
   return ips
def getMachineIP ( ) : hostname = socket . gethostname ( ) addresses = socket . getaddrinfo ( hostname , None ) ips = [ x [ 4 ] [ 0 ] for x in addresses ] return ips