Moto G2 charging port locates on the motherboard by soldering, so it is hard to replace it by DIY repair work, you'd better send it to the repair shop for help.
open