This happened to one of my phones after a few years, turned out it was a bunch of lint compressed into the port preventing the cable from going in all the way. I got it all out with a staple (only thing I could find that was small enough to fit), then the cable started snapping into the port like new.