created getRealsIp method in Vip