What does it mean if the lower right side of my belly hurts and so does the upper leg hurt?

? Hernia. If you are female- concern is hernia vs ovarian cyst. If male- first concern is hernia giving pain if both areas. Would be concerned if pain is worse with lifting. Right sided pain must think about appendicitis.