Welcome to iPhoneForums, El gustav!
What did you do when you tried cleaning the charging port?
Usually, you can use a soft brush to clean it, but you have to be very careful. Or you can use canned air to remove lint. A toothpick would also be an option for this task.
Maybe there's still some dirt, and that's why your iPhone isn't charging. Try cleaning it once more.
If possible, also try using a different cable, charger and outlet to see if it will work at all.