What causes painful red bumps on the inner thigh?

Dec 26, 2021 Source: Cainiu Health
Disease description:

I suddenly noticed numerous red bumps on the inner side of my thigh, and they are very painful. What could be causing these painful red bumps on the inner side of the thigh?

Doctor's answer (1)
Dr. Li Ruizhi
Folliculitis—commonly caused by bacterial infection of the skin—is frequently observed. If proper hygiene is not maintained, localized infection with the varicella-zoster virus (causing herpes zoster) may also produce similar symptoms. Additionally, if pain is accompanied by localized pruritus, it may indicate a recent exposure to an allergen, resulting in an allergic reaction.