Taken together, our results demonstrated that the shrimp STING–IKKβ–Relish–AMPs axis played a critical role in the defense against bacterial infection, and provided some insights into the development of disease prevention strategies in shrimp culture. The gene discussed is IKBKB; the disease is bacterial infectious disease.