Sugar-phosphate phosphohydrolase that catalyzes the dephosphorylation of D-mannitol 1-phosphate and D-sorbitol 6-phosphate (PubMed:27941785). Also catalyzes the dephosphorylation of 2-deoxyglucose 6-phosphate (2dGlu6P); this is a biologically important activity in vivo since it contributes to the elimination of this toxic compound and plays an important role in the resistance of E.coli to 2-deoxyglucose (PubMed:16990279). To a lesser extent, is also able to dephosphorylate mannose 6-phosphate (Man6P), erythrose-4-phosphate, 2-deoxyribose-5-phosphate (2dRib5P), ribose-5-phosphate (Rib5P) and glucose-6-phosphate (Glu6P) in vitro (PubMed:16990279). sugar phosphate + H2O = sugar + phosphate. 2-deoxy-D-glucose 6-phosphate + H2O = 2-deoxy-D-glucose + phosphate D-mannitol 1-phosphate + H2O = D-mannitol + phosphate D-sorbitol 6-phosphate + H2O = D-sorbitol + phosphate Requires the presence of a divalent metal cation for activity. Can use zinc, manganese, cobalt or magnesium. kcat is 33 sec(-1) with 2-deoxyglucose-6-P as substrate. kcat is 11 sec(-1) with mannose-6-P as substrate. kcat is 9.4 sec(-1) with 2-deoxyribose-5-P as substrate. kcat is 2.8 sec(-1) with ribose-5-P as substrate. kcat is 25 sec(-1) with glucose-6-P as substrate. Optimum pH is between 6 and 7.5. Cells lacking this gene are much more sensitive to the presence of 2-deoxyglucose in the growth medium than wild-type. Belongs to the HAD-like hydrolase superfamily. CbbY/CbbZ/Gph/YieH family.