How to stop Windows firewall from blocking Bonjour hostname resolution
Create a new Inbound Rule that allows traffic over UDP port 5353 in the needed security zones.

Step-by-step:


Open Windows Firewall Advanced Settings


Create a new rule in Inbound Rules


Under Protocols and Rules, choose Protocol Type > UDP and Specific Ports > 5353 


Choose the appropriate security zones for your network. For more information on security zones, read the Microsoft documentation: How Windows Firewall with Advanced Security Works