My firewall blocking wireless display to smart TV

I have difficulty to connect to wireless display to my smart TV. Several days ago it was ok. I tried everything what i know to adjust the setting in the firewall but it don’t help. Does anyone have any suggestion for this problem? I don’t want to disable the firewall every time i want to connect to the wireless display.

Set the Avast Firewall to private mode and reboot.

Ho lo stesso problema. Come si fa a passare in private mode?
Grazie