Check USB Port & Connector

. Try with a Different Computer

Try to Use Certified USB Cable

Check Anti-Virus and Firewall

Change iPhone Battery