The present invention relates to a connector. According to one aspect of the present invention, the connector comprises: an outer housing forming an exterior and where a wire is located inside; an inner housing arranged in the outer housing; a shell arranged in the outer housing and the inner housing; a contact terminal arranged in the shell and electrically connected with the wire; and at least one sealing member sealing a gap between the outer housing and the wire, or a gap between the outer housing and the inner housing.