First, it is important to note that there are a few different types of charging ports. The most common type is the USB port, which is typically found on phones and other small devices. There are also microUSB ports, which are smaller versions of the USB port and are often used for charging smaller devices such as watches or fitness trackers. Finally, there are proprietary charging ports that are specific to certain devices, such as Apple's Lightning connector.
Assuming you are referring to a USB or microUSB port, the best way to get liquid out of it is by using a cotton swab or Q-tip. Gently insert the cotton swab into the port and twist it around to absorb any liquid. Once the cotton swab has absorbed all the liquid it can, carefully remove it from the port and dispose of it properly. If there is still liquid present in the port, repeat this process until the port is completely dry.
It is important to be very careful when cleaning out a charging port, as they can be delicate and easily damaged. Avoid using sharp objects such as knives or pins, as these can puncture or damage the port. In addition, be sure not to use too much pressure when inserting or twisting the cotton swab, as this could also damage the port. If you are unsure about how to properly clean your charging port, consult your device's user manual for more information.