Press the F5 key to open Advanced Setup.
Click Network Protection → Firewall, expand Advanced and click Edit next to Rules.
Type a name for the rule and select the following options:
Click Local and in the Application field, type or copy/paste
Click OK → OK → OK to create a firewall exception that enables wireless display connections.