I have Bonjour installed on my Windows 7 PC, and the installer appears to have poked all the necessary holes in the Windows firewall. However, I can't ping windows-pc.local from my Mac. If I completely disable the Windows firewall, I can. How do I configure Windows firewall to allow Bonjour hostname resolution?
Create a new Inbound Rule that allows traffic over UDP port 5353 in the needed security zones.
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