The model was composed of six genes, including IFNAR2, RAC1, LBP, TLR2, MAPK10, CXCL9, and multivariate Cox regression analysis showed that IFNAR2, LBP, CXCL9, and TLR2 were the prognostic protection genes of melanoma, while RAC1 and MAPK10 were the prognostic risk genes of melanoma, which was consistent with the previous conclusions. Here, CXCL9 is linked to melanoma.