A connector of the present invention includes a housing and a valve, wherein the housing has a flow path and a pipe connecting port, and the valve is formed of an elastic material and is adapted to block the pipe connecting port. The valve has a substantially columnar deformable portion. The deformable portion has a top surface exposed from the pipe connecting port, a bottom surface opposite to the top surface, and a slit that reaches extends from the top surface to the bottom surface. When the top surface is pressed by the pipe, the deformable portion of the valve will be displaced toward the flow path while elastically deforming, so that inner surfaces that define the slit will face the flow path, and the top surface will form an opening that communicates with the flow path.