@sachinjoshi the charging port is part of the charging (daughter) board. Replacing that board will fix your jack. Since iFixit does not yet have a specific guide for that, use the one from here It is written in Spanish so use a browser that does the translating for you, if needed. Replacement charging boards are readily available at many online stores.
While you work on your phone, take lots of pictures. Once you are done with it, take those pictures and create a guide for iFixit. That will help the next person that has the same issues with their phone. It's easy and fun to create these guides. https://ifixit.com/Guide/new The iFixit community will appreciate this.
Repair is War on Entropy!
Translation
@sachinjoshi charging port, charging (doter) board ka hi ek hissa hota hai। us board ko badalne se aapka jack theek ho jaega। chunki iFixit ke paas abhi tak iske liye koi khas guide maujood nahin hai, isliye aap yahan di gai guide ka istemaal kar sakte han। yah guide spanish bhasha mein likhi gai hai, isliye agar zaroorat pade, to aap aise browser ka istemaal karen jo aapke liye iska anuvaad kar de। badalne ke liye charging board kai online store par aasani se mil jaate han।
jab aap apne phone par kaam kar rahe hon, to uski dher sari tasveeren zaroor len। jab aapka kaam pura ho jaye, to un tasveeron ka istemaal karke iFixit ke liye ek guide taiyar karen। isse us agle vyakti ko madad milegi, jise apne phone mein theek vaisi hi samasya ka samna karna pad raha ho। is tarah ki guide banana bahut aasan aur mazedaar kaam hai। https://ifixit.com/Guide/new iFixit community aapke is kaam ki bahut sarahana karegi।
marammat karna, avyavastha (Entropy) ke khilaf ek jung hai!