Account for instances where private ip is not accessible

Change-Id: I425856a2954d4292a3b75d09a6a5aa9779e172c1