Homebridge disappears after restart? Check mDNS discovery
gist Check the LAN path and selected interface, then browse HomeKit services during a restart and compare any changes with Homebridge logs.
You stopped about in. Jump back
contents
If Homebridge disappears after a restart, check the LAN path and selected interface, then watch mDNS discovery from a separate client before changing settings.
I run Homebridge in Docker on my Unraid box. These checks need access to Homebridge settings and logs, the container’s network configuration, and a separate client on the trusted LAN. Save a Homebridge backup before changing settings.
Step 1: Separate discovery from connection
Discovery finds a service. The client then connects to that service. Apple describes these as separate operations in its Bonjour walkthrough.
Check:
- The Apple device is on the trusted LAN.
- mDNS discovery works on that same LAN.
- The device can open a HAP TCP connection to the bridge.
mDNS uses link-local multicast on UDP port 5353. Start with Homebridge and the client on the same subnet. Check that the access point permits communication between them. See RFC 6762.
Check guest Wi-Fi isolation even when addresses share a subnet. If you use VLANs, review both multicast forwarding and access to the advertised HAP TCP port.
Treat web UI access as a separate check. Loading the UI does not test the accessory port.
Step 2: Check the advertiser and interfaces
Open Homebridge Settings. Record the selected mDNS advertiser and network interfaces before changing either.
The screenshots come from a throwaway test install, not my live one.
Choose an interface that exists inside Homebridge’s running network environment and reaches the trusted LAN. For Docker, verify the interface in the container’s network namespace.
The HAP documentation recommends interface names rather than fixed addresses. It also warns that misspelled names may produce no warning because an interface could be temporarily down. The bind option controls the HAP TCP listener. See the HAP binding documentation.
Homebridge’s interface selection also affects advertised addresses with Ciao and Bonjour HAP. Match the advertiser to its platform requirements:
- Ciao: runs within Homebridge.
- Bonjour HAP: another built-in option.
- Avahi: Linux; requires running
avahi-daemonand D-Bus services, accessible from the container when applicable. - Resolved: Linux only and experimental; requires
systemd-resolved, D-Bus, enabled multicast DNS and suitable permissions.
For Avahi, review its own interface settings too. These requirements come from Homebridge’s mDNS documentation.

Step 3: Check Docker’s path to the LAN
In Unraid, inspect the Homebridge container’s network type.
The official Docker README lists host networking as required for its Linux setup and HomeKit discovery. Compare your configuration with that documented layout before changing it. Pairing Homebridge in Docker walks through the host-network setup, and Docker host vs bridge networking explains the difference.
A published UI port is a check of access to that port. Check the LAN multicast path separately when using an isolated Docker bridge.
If host networking is already selected, continue with these checks:
- The client is on trusted Wi-Fi.
- The access point permits communication with wired LAN devices.
- The selected interface reaches that LAN.
- Local firewall rules allow mDNS and access to the advertised HAP TCP port.
Record the current configuration before making a network change. Repeat the client checks afterward.
Step 4: Watch discovery through a restart
Use a separate client on the same LAN as the Apple device. This gives you an observation from the client’s side of the network.
On a Mac, browse HomeKit accessory services with:
dns-sd -B _hap._tcp local.
Apple documents this browsing syntax and recommends keeping a Bonjour browser running to receive updates. See its Bonjour walkthrough.
On a Linux client with Avahi tools installed and its daemon running, use:
avahi-browse -r _hap._tcp
The Avahi manual defines -r as service resolution. A + marks an appearance, - marks a removal, and = marks a resolved service. Leave off -t to keep browsing. See the Avahi manual.
Keep the browser open while you restart Homebridge from its UI. Note the restart time and any changes for the relevant bridge. Compare those observations with the logs over the same period. Stop browsing with Control-C.
Do not expect a fixed sequence of additions and removals. mDNS records have cache lifetimes, so a record can remain visible without proving that the accessory connection works. See RFC 6762’s caching rules.
| Observation | Next check |
|---|---|
| No matching service appears | Process status, advertiser prerequisites, interface and multicast path |
| A removal appears near a logged process exit | Restart history and errors around that time |
| A removal appears while the process stays running | Advertiser logs, interface changes and network filtering |
| A service resolves but accessories remain unavailable | Advertised address, HAP TCP port and bridge or plugin logs |
| Different clients see different results | Each client’s Wi-Fi, VLAN and firewall path |
Step 5: Change one setting and compare
Correct an invalid interface selection first. Restart Homebridge and repeat the same client check.
If the interface and LAN path appear correct, try another advertiser whose prerequisites are available. Keep the client, network layout and observation period the same. Record whether the result changes.
View logs in the Homebridge UI. For installations managed by hb-service, Homebridge documents enabling debug mode in UI settings, restarting, and reviewing the logs. Turn debug mode off and restart again when finished. Some plugins need their own logging settings. Follow the debug-mode instructions.
Keep pairing information intact while collecting discovery observations. Review network and advertiser settings before considering a reset.
Alternatives to compare
| Option | When it is useful | Tradeoff or prerequisite |
|---|---|---|
| Another supported advertiser | Comparing responder behavior on the same network | Must meet the advertiser’s platform requirements |
| Official Linux Docker layout | Checking a container against documented installation instructions | Uses host networking; review local firewall and port use |
| Native installation | Comparing a setup without Docker networking | Needs a supported platform and a backup before migration |
| A different suitable network layout | Checking guest Wi-Fi or VLAN boundaries | Must provide discovery forwarding where needed and HAP TCP reachability |
Use the official Docker README when comparing installation layouts. It also documents networking limitations for this image on Docker Desktop for macOS and Windows.
Common questions
How do I check whether Homebridge is still advertising?
Browse _hap._tcp from a separate LAN client. Keep the browser open during a restart and record any changes. Compare them with Homebridge logs. Check the advertised address and port if the service resolves.
Which mDNS advertiser should I use?
Choose one supported by your platform and installed services. Check the interface and LAN path first. Then compare advertisers one at a time using the same client check. See Homebridge’s advertiser requirements.
Does Homebridge need host networking in Docker?
The official Linux Docker setup lists host networking as required for HomeKit discovery. Follow that layout when using the official image. Host networking alone is not a diagnosis for a disappearing service.
Why does the web UI work by address but not by name?
Check name resolution separately. For .local names, Homebridge documents a possible IPv4 mDNS conflict involving the Matter responder in Homebridge 2.2 and later.
If your symptoms match that documentation, review bridge.matter.disableIpv4; UI support starts at 5.26. This option concerns that specific responder conflict. See Homebridge’s Matter and IPv4 mDNS notes.
Should I remove Homebridge from the Home app?
Keep pairing intact during discovery checks. Homebridge documents that a reset removes pairing information and requires pairing the affected bridges and accessories again. Back up before considering its reset procedure.
Read Homebridge backup and restore before a reset or migration. Related: self-hosting guides.
../self-hosting/ every Self-hosting guide