In the free-living nematode Caenorhabditis elegans, the spin-2 gene, which encodes a S1P transporter, is activated during Gram-positive or Gram-negative bacterial infection of the intestine. Here, MFSD2B is linked to gram-negative bacterial infections.