Four sources, one puddle
Water at the base of a heater in Pico looks the same whatever caused it, so the diagnosis starts with where it begins.
The relief valve. Water from the valve or its discharge pipe means the tank is relieving pressure: a failed valve, a waterlogged expansion tank, or high supply pressure. Repairable, and a warning that pressure has nowhere else to go.
The drain valve. A cracked plastic valve or a weeping hose connection produces water exactly where a shell failure would, and it is one of the cheapest fixes in the trade.
The nipples and unions at the top. Corroded dielectric nipples and loose unions drip down the tank's side and pool underneath. Water at the base has often travelled from above.
The shell. A split seam or a rusted-through base. This is the water that does not slow when the inlet is closed.
What to close, in order
The cold inlet valve on top of the tank, then the fuel — the gas valve on the supply pipe, or the breaker on an electric unit. Move anything stored around the unit off the floor. Do not cap the relief valve to stop a drip; it is the safety device, and blocking it turns a leak into a pressure problem.
What the visit checks
The relief valve and its discharge, the drain valve, the top connections, the pan and its drain, the venting and burner area, and the shell. Three of those four sources are cheap, and finding them first is what stops a repairable leak becoming a replacement.
When the tank is done
Water through the steel ends the unit. The conversation then moves to the size, fuel, location and venting the replacement needs — and to getting the old tank out without spreading water further into the property.