Hi,
Use a magnifying glass and a strong light to visually inspect the USB port.
Ensure that the pins are all there and that they are straight and parallel with each other.
Also check that there is no dust or lint blocking the port enclosure. If there is, use a vacuum cleaner to try and get it out. Do not use a metal probe to try and dislodge it as you may damage the pins and cause damage to the USB controller or USB power supply. If you have to use a tool to dislodge the obstruction, gently use a wooden toothpick.
If it appears OK try connecting a USB cable (one end only need be inserted) and very gently try moving the USB plug from side to side or up and down to feel if the port appears to move or is loose at all. If it does it may be loose on the motherboard and will need resoldering. As it is most likely a SMD (Surface Mounted Device) type connector, you will need SMD soldering skills and tools to effect a repair. This is not a job for novices as you can cause more problems that what you had if you don't know what you are doing. I suggest that you contact a reputable, professional laptop repair service and ask for a quote. Alternatively as the USB ports (on the right side anyway, if on the left side you're out of luck) are mounted on a board connected by a cable to the motherboard, you may wish to try and find a replacement USB port board for your model laptop and simply replace it with a new part. Here is a link to a video which shows how to open your laptop. At 2:28 minutes into the video the 2 USB ports are visible.
If the USB port feels secure try connecting an optical mouse or a mobile phone, to the USB port just to see if the power being supplied by the port remains permanently on with the device connected, i.e. the mouse light stays on or the mobile phone charge light stays on. If it goes off go to Device Manager > Universal Serial Bus Controllers and find the USB Root Hub entries, right click on each entry and select Properties then Power Management and uncheck the box that says 'Allow the computer to turn off this device to save power' then click OK. See if this resolves the problem