This could be due do different issues, so you can try several troubleshooting solutions, such as:
Switching to a different input channel in case the ports aren’t named properly.
Connecting the HDMI cable to a different input port in case that particular port is not working
Connecting a different device to the TV to check in your computer is causing an issue.
Replacing your HDMI cable to see if your current one is failing.