You have to have a working port to charge it.
You need to see, inside, if it is reattachable, or if you need to get and install a new one. Should you not wish to do the work yourself, then contact a local tech. Now if it is still under warranty, you may want to contact the manufacturer and see if that repair/replacement is covered.