The invention provides a connector including a body, a cover, a contact, and a molded portion. The body includes a connecting hole, and a housing hole or slit communicating with the connecting hole and being open to an outside of the body. The cover blocks the housing hole or slit of the body. The contact includes a fixed portion fixedly attached in the housing hole or slit of the body, a contact portion disposed in the connecting hole, and a connecting portion protruding from between the body and the cover to an outside of the body and the cover. The molded portion, formed of insulating resin, covers and blocks at least a boundary between the body and the cover, a boundary between the body and the connecting portion of the contact, and a boundary between the cover and the connecting portion of the contact.