A connector C to be mounted on a case of a device includes a coated wire 10 formed such that a core 11 is coated with an insulation coating 12, a terminal fitting 20 to be fit and connected to a mating terminal, a flexible conductor 15 interposed between the terminal fitting 20 and an end of the coated wire 10, and a housing 30 made of synthetic resin and accommodating the terminal fitting 20 together with the flexible conductor 15. The core 11 of the coated wire 10 is provided with a core fixing portion 25 integrated with the core 11 and the core fixing portion 25 is embedded in the housing 30 by molding.