•Gastric cancer’s STAT3 addiction switches from IL-11 to IL-6 dependency when being TP53 mutant. This evidence concerns the gene STAT3 and gastric cancer.