The nut simply holds the jack tight in the chrome fitting that is screwed to the guitar body. The way the jack is slanted into the body means that a right-angle plug will not work well. Use a straight plug. If the jack is not holding the cable plug properly, it needs to be adjusted or replaced. Take it in to a tech.