replace localhost in get CTRegion