How do I know I need a new charging port or lightning connector? Here are the answers:
1) If your phone doesn't charge after the charging lead is connected, or you need to swing the lead to a specific direction for it to charge.
2) The charging lead cannot be input properly, which means there is physical damage to the charging port.
3) Your phone can only be charged by specific charging lead.
4) Your phone can be charged, but it doesn't connect to iTunes. There are pins on the charging port for charging and ones for data transfer.
If one or more phenomena happen as described above, we recommend a new charging port. A worn out charging port can wear your charging lead out as you have to swing it back and forth for better connection.