I have experienced this kind of issue as well, sorry I do not the answer to solve your issue but I do have a few theories on why this could happen to our TV/ monitor hdmi ports:
1. Tend to happen to smart TVs or internet TVs
2. You should always turn off both TVs and PC/ other equipment before plugging and unplugging HDMI cable to avoid any damage
3. Do not set your PC/ equipment to turn on the TV automatically when you turn on your PC/ equipment on.
That's all I know, the only solution I got for you is to change the PC board on your TV or replacing the hdmi port, are you still under warranty? What is your TV/ type? Does the other hdmi port still works?