The first pipe end (1) is widened in two steps by a tool to form the pipe socket. The inserted second pipe end (4) abuts with its front face (4a) on the annular face (2c) of the first socket step. The sealing ring (5) is located at the annular face (2d) of the second socket step (2b) spaced from the first one. The entire region of the widened socket is radically compressed onto the inserted second pipe end a so deformed the peripheral section of the second socket stage forms a retaining groove for the sealing ring. In the peripheral section of the first socket step is formed an embossed bead (7).