A connector for connecting casing segments used in wells drilled in high temperature areas and for transport of high temperature media, the connector comprising: a) a hollow tubular main body with: - an upper portion comprising a first tubular sleeve opening for receiving and engaging to a first casing, - a lower portion comprising a second tubular sleeve opening for receiving and engaging to a second casing, and - an annular spacing in the upper portion axially extending between an inwardly extending upper rim of the upper portion in proximity to the first tubular sleeve opening and an inwardly extending central rim formed in the upper part of the lower portion of the hollow tubular main body, b) a slidable connection member extending radially within the annular spacing, said slidable connection member comprising a first circumferential engaging zone for engaging a mating engaging zone of an end of said first casing, wherein the slidable connection member comprises an abutting inwardly extending rim that contacts the peripheral end surface of the first casing when the first casing is fully attached, and wherein the slidable connection member is shorter in the axial direction than the annular spacing and is reversibly slidable within annular spacing between the inwardly extending upper rim and the inwardly extending central rim, c) a second circumferential engaging zone in the lower portion of the hollow tubular main body in proximity to the second tubular sleeve opening, for engaging a mating engaging zone of an end of the second casing, wherein the upper portion and the lower portion of the hollow tubular main body are connected by at least two pairs of parallel surfaces as the connector is assembled, said at least two pairs of parallel surfaces being: i) first axial mating surfaces (17, 18) being where the upper portion meets the inwardly extending central rim formed in the upper part of the lower portion of the hollow tubular main body, when the upper portion and the lower portion are secured or fixed together during assembly, and ii) first radial facing surfaces (19, 20) adjacent to the first axial mating surfaces forming a spacing between the first radial facing surfaces (19, 20), characterised in that a metal seal ring is positioned in the spacing between the first radial facing surfaces (19, 20) for forming a seal when axial pressure is applied to the connector during assembly and when high temperature media starts to flow through the connector. a) a hollow tubular main body with: - an upper portion comprising a first tubular sleeve opening for receiving and engaging to a first casing, - a lower portion comprising a second tubular sleeve opening for receiving and engaging to a second casing, and - an annular spacing in the upper portion axially extending between an inwardly extending upper rim of the upper portion in proximity to the first tubular sleeve opening and an inwardly extending central rim formed in the upper part of the lower portion of the hollow tubular main body, - an upper portion comprising a first tubular sleeve opening for receiving and engaging to a first casing, - a lower portion comprising a second tubular sleeve opening for receiving and engaging to a second casing, and - an annular spacing in the upper portion axially extending between an inwardly extending upper rim of the upper portion in proximity to the first tubular sleeve opening and an inwardly extending central rim formed in the upper part of the lower portion of the hollow tubular main body, b) a slidable connection member extending radially within the annular spacing, said slidable connection member comprising a first circumferential engaging zone for engaging a mating engaging zone of an end of said first casing, wherein the slidable connection member comprises an abutting inwardly extending rim that contacts the peripheral end surface of the first casing when the first casing is fully attached, and wherein the slidable connection member is shorter in the axial direction than the annular spacing and is reversibly slidable within annular spacing between the inwardly extending upper rim and the inwardly extending central rim, c) a second circumferential engaging zone in the lower portion of the hollow tubular main body in proximity to the second tubular sleeve opening, for engaging a mating engaging zone of an end of the second casing, i) first axial mating surfaces (17, 18) being where the upper portion meets the inwardly extending central rim formed in the upper part of the lower portion of the hollow tubular main body, when the upper portion and the lower portion are secured or fixed together during assembly, and ii) first radial facing surfaces (19, 20) adjacent to the first axial mating surfaces forming a spacing between the first radial facing surfaces (19, 20), characterised in that a metal seal ring is positioned in the spacing between the first radial facing surfaces (19, 20) for forming a seal when axial pressure is applied to the connector during assembly and when high temperature media starts to flow through the connector.