Mechanistic studies revealed that the IL-6–JAK2–STAT3 axis contributed to Th17 cell/IL-17A activation in PmA infection. Here, JAK2 is linked to infection.