Media player not working after pc change

Hello,

I have a new PC (Windows 11) and cannot connect to the Media Player with HASS.Agent. HA Auto Discovery always offers the connection to the old switched-off PC, but not to the new one. Other PC sensors are mapped in HA. Even multiple restarts of HA have not helped.

A special feature: The new PC - like the old one - is in a different subnet (192.168.1.x) than HA (192.168.2.x). Do I have to manually add a rule in the Windows firewall? However, other PCs in this subnet work with HASS.Agent, and I don’t remember having to configure anything extra.

Does anyone have any tips?

Regards, Eckart