See Brady Products
Sensor/actuator flush-type connector - socket - 5-pos. - M12 - A-coded - rear/screw mounting with Pg9 thread - with solder cups - plastic version