check for private ips when public are not available