use server side client ip if external ip is not available or not public