when i try to plug my guitar into the amp it doesnt make any sound ive narrowed down that it is the plugin jack because if i twist and move the cable around it sometimes plays for a few seconds then moves and i lose it

i know its not the cable or amp cause i plugged another guitar into it if anyone can give me a little help it would be gratefully appreciated
Remove the plating around the jack, and see if its soldered correctly.
Fender Jaguar
Morley PVO +
TC Polytune
Fulltone Ultimate Octave
Boss DS2
Blackstar HT-40
Digitech Timebender
TC Trinity

(offboard; Whammy IV, Crybaby 535Q, Digitech RP100A)