A connector comprising: a housing; a module; wherein the module is composed of a terminal and an insulator, the terminal being configured to be attached to an end of a cable and to be connected with a mating terminal of a mating connector, the insulator housing and holding the terminal, the insulator includes two spring pieces and two protrusions, the two spring pieces being formed on respective outer surfaces of the insulator that are positioned on mutually opposite sides, the two protrusions being formed on the two spring pieces respectively in a manner to protrude mutually outward, the housing has an accommodation space surrounded by side walls (32, 33, 34, 35), two mutually opposed walls (32, 33) of the side walls (32, 33, 34, 35) having a pair of through holes, the connector being characterized in that: it comprises a hood, and in that the module is positioned and housed in the accommodation space to be attached to the housing in a manner such that each of the two protrusions is fitted from an inside into each of the pair of through holes to leave an outer side portion within the each of the pair of through holes unoccupied by each of the two protrusions, the hood is composed of two split bodies (60, 70) that are adapted to be separated from and joined to each other, and a projecting portion is formed on each of the two split bodies (60, 70), the hood is adapted to be positioned and fixed on the housing in a manner such that the projecting portion of each of the two split bodies (60, 70) is fitted from an outside into the outer side portion within each of the pair of through holes and the two split bodies (60, 70) are fastened to each other with a fastening means, and letting a connecting direction between the terminal and the mating terminal be an up and down direction, the two split bodies (60, 70) have shapes that in a state in which the hood is positioned and fixed on the housing, forms a straight lead-out hole, which leads the cable out of the hood upward, and an angled lead-out hole, which leads the cable out of the hood in a direction orthogonal to the up and down direction. a housing; a module; wherein the module is composed of a terminal and an insulator, the terminal being configured to be attached to an end of a cable and to be connected with a mating terminal of a mating connector, the insulator housing and holding the terminal, the insulator includes two spring pieces and two protrusions, the two spring pieces being formed on respective outer surfaces of the insulator that are positioned on mutually opposite sides, the two protrusions being formed on the two spring pieces respectively in a manner to protrude mutually outward, the housing has an accommodation space surrounded by side walls (32, 33, 34, 35), two mutually opposed walls (32, 33) of the side walls (32, 33, 34, 35) having a pair of through holes, the connector being characterized in that: it comprises a hood, and in that the module is positioned and housed in the accommodation space to be attached to the housing in a manner such that each of the two protrusions is fitted from an inside into each of the pair of through holes to leave an outer side portion within the each of the pair of through holes unoccupied by each of the two protrusions, the hood is composed of two split bodies (60, 70) that are adapted to be separated from and joined to each other, and a projecting portion is formed on each of the two split bodies (60, 70), the hood is adapted to be positioned and fixed on the housing in a manner such that the projecting portion of each of the two split bodies (60, 70) is fitted from an outside into the outer side portion within each of the pair of through holes and the two split bodies (60, 70) are fastened to each other with a fastening means, and letting a connecting direction between the terminal and the mating terminal be an up and down direction, the two split bodies (60, 70) have shapes that in a state in which the hood is positioned and fixed on the housing, forms a straight lead-out hole, which leads the cable out of the hood upward, and an angled lead-out hole, which leads the cable out of the hood in a direction orthogonal to the up and down direction.