AirPlay, AirDrop, and Screen Sharing fail on MacBook due to built-in firewall
If your AirPlay, AirDrop, and/or Screen Sharing are not working, you may have the same issue I had (fixed now, with info below).
The problem (3 symptoms - same disease):
- MacBook (running macOS Tahoe 26.6.2) could be seen on AirPlay but communication attempts would fail
- AirDrop to Mac would fail even though MacBook could be seen on network
- Screen Sharing would fail even though the request and "agree" dialog displays just fine.
The AirPlay and AirDrop failures were while trying to connect from my iPhone (iOS 26.6.2). For Screen Sharing it was actually noticed whilst trying to get technical support from Apple. In all three cases, I found turning the built-in firewall off would allow the services to work, but seconds after turning it back on, they would stop working again.
Solution:
Long story short, it turned out it was these applications which were set to blocked on the built-in firewall's allow list (System Settings->Network->Firewall->Options):
- ContinuityCaptureAgent
- ControlCenter
- identityservicesd
- nehelper
- NetAuthSysAgent
- rapportd
- replicatord
Deleting them from the list was the solution that worked. They get automatically re-added with the correct setting as long as you have the setting that allows built-in software checked.
Simply changing the setting to 'allow' didn't seem to work - but removal worked ('-' button below the list).
I'm putting this information here because in the technical support chat and follow-up phone call, the primary suspect was my third party security app (Norton), but it turned out to be a red herring. The real problem was the built-in apps being blocked by the built-in firewall.
The lingering question:
Having never changed the firewall settings manually, the true mystery is how these apps got blocked in the first place. Could it be that the migration to macOS Tahoe from previous version is what caused the default settings to change?
MacBook Pro 16″, macOS 26.6