Recombinant HDGF and TNFα inhibited the development and invasion of H. pylori-infected gastric cancer differently. Here, HDGF is linked to gastric cancer.