Can't connect laptop to tv

I have a Toshiba laptop with HDMI port and I tried it connecting to my Samsung smart TV and it worked once with HDMI 2 port. But now, HDMI 2 port is broken by mistake. I still have HDMI 1/DVI port working but it is not working with my laptop. It just shows no signal.