Intermittant starting line bog

We did crank the motor and smothered the carb with a large rag. Everytime we pulled the rag off it flared back up. Had flames coming out of the vent tubes and the throttle body. It only took a very small shot from the extinguisher to put it out. Didn't even get any residue inside the carb.