Strain relief connector with locknut