Connections to metal-plastic pipes