Chosen Solution

Can the HDMI port be replaced

The port cannot be replaced, it might be repairable though, try cleaning it out with a toothbrush (Without Toothpaste Of Course!)

I had a broken HDMI port, I used http://www.videogame911.com. They were fast a replaced it for me.

I’ve had the same problem and realized it was loose.so i kept it pushed to a surface. if this doesn’t work,you will need it repaired by Sony.