We experienced a fire on our 6400 Dragline in the area of the main engine. Two operators began to fight the fire & then firefighters from the Fire Department extinguished the blaze & pumped foam to avoid re-ignition. No injuries were sustained. Investigations showed a lost 24 volts carrier from starters near fuel lines could have caused it.