LocalIps fix & test