· If possible, remove the battery.
· Use something small like a toothpick to lever up the little tab located in the USB port on your phone.
· Carefully and gently reinsert the battery (if removed) and then plug it in again.
Contact your carrier if the problem persists after performing all available workarounds as your device may already require service.
Also, for dead battery or broken charging port, you can contact your carrier or Samsung Support to find out your options or avail of battery replacement program or repair warranty (if possible).