On the coastal side of the ridge, a water heater leak is a water-travel problem before it is a plumbing problem. The ground falls away, the house follows it in steps, and water released at one level surfaces at another. The first task is finding where it started.
Stop the supply
Shut the inlet at the top of the unit — the valve on the cold pipe — and the property main if it is seized. Cut the gas control or drop the breaker next.
Trace it downhill
Start at the heater rather than at the stain. A wet pan, a damp patch under the discharge pipe, water tracking down the outside of the tank from a top connection. Salt air makes the exposed joints the likely first suspects here: unions pit, nipples corrode, the vent cap above has often gone before either.
If the heater area is dry and the water continues, the trace moves into the wall or the slab edge — which is why the level where it appeared is useful information and the room is not.
What the repair involves
Most leaks are a part: relief valve and its discharge, drain cock, a union, an element gasket, a corroded pipe section. The strapping gets checked while the unit is open, upper and lower thirds, the lower clear of the controls — a coastal installation that has been serviced repeatedly may have lost them.
The discharge still has to finish outside at the right height in pipe no smaller than the valve outlet. On a steep lot, "outside" can mean a long run, and the route is planned rather than improvised.
When the shell is finished
Water through the wall or rising from the base plate. Salt air does not usually kill a tank directly, but it does shorten the life of everything bolted to it.
Before the visit
Which level is wet, whether the heater is indoors or in a semi-exposed space, and the gate arrangement.