The bulb socket has to match the bulb base.

Here are some 12v - 6v bulb/base equivalents.