A closed compressor includes a closed vessel made of steel and a vapor-liquid separator connected to the closed vessel. The closed vessel and the vapor-liquid separator have a discharge steel pipe and a suction steel pipe, respectively, each of which has a hexagonal portion and a threaded portion for connection with an aluminum pipe. The closed compressor of this construction is suited for use in an automotive air conditioner.