Zigbee2MQTT Frontend Not Loading: Port and Base Topic

Zigbee2MQTT frontend settings and browser address

If the Zigbee2MQTT page is blank, refuses to connect, or never finishes loading, the frontend may be disabled or you may be opening the wrong port. A common cause is using a port that is not exposed or forwarded to your browser, especially when Zigbee2MQTT runs as a Home Assistant add-on or in a container.

Why this happens

The frontend is a web server provided by Zigbee2MQTT, separate from the Home Assistant interface. Its address depends on how Zigbee2MQTT is installed and which network settings are enabled.

  • The frontend is disabled, or its configured port differs from the one you are visiting.
  • A container, add-on, firewall, or reverse proxy does not expose or forward that port.
  • The frontend loads, but Zigbee2MQTT cannot connect to the MQTT broker because its base topic or broker settings are incorrect.

1. Confirm the frontend is enabled and check its port

Open Zigbee2MQTT’s configuration file or its add-on configuration in Home Assistant. Look for the frontend setting. If it is set to false, enable the frontend; if it has a port value, note that value and restart Zigbee2MQTT after saving. On current versions, setting names and configuration screens can vary by installation, so check the documentation for your installed version if you do not see this option. The fix is confirmed when the service starts with the frontend enabled and you can reach its configured port.

2. Open the right address from your network

For a direct connection, enter http://<Zigbee2MQTT-host>:<frontend-port> in a browser on the same network. Use the host running Zigbee2MQTT, not automatically the Home Assistant address: the two may differ. If you are using HTTPS through a reverse proxy, use that proxy’s configured URL instead. A page that loads at the direct address points to a proxy or bookmark issue rather than a disabled frontend.

3. Check add-on or container port exposure

If Zigbee2MQTT runs in a container, confirm that its frontend port is published from the container to the host and that you are using the host-side port. In Home Assistant, open Settings > Add-ons, select the Zigbee2MQTT add-on, and review its configuration and network options; the exact controls vary by add-on and installation method. Restart the add-on after changes. The fix is confirmed when the port is reachable from another device on your LAN, not only from inside the container.

4. Verify the MQTT base topic and broker connection

In the Zigbee2MQTT configuration, check mqtt.base_topic and the broker address and credentials. The base topic is the MQTT topic prefix used by Zigbee2MQTT; changing it does not change the frontend URL or port. If you changed the prefix, make sure Home Assistant’s MQTT discovery and any automations or integrations use the expected topic. The fix is confirmed when Zigbee2MQTT logs show a successful broker connection and devices or discovery messages appear under the configured prefix.

5. Read the startup logs

In Home Assistant, open Settings > Add-ons > Zigbee2MQTT > Log if using the add-on. For a container, use docker logs <container-name> on its host. Look for messages indicating that the frontend started, the MQTT connection succeeded, or configuration loading failed. Correct the specific reported issue, then restart and reload the page; a frontend startup message confirms the web service came up, while a broker error means the page and MQTT connection need separate troubleshooting.

6. Test network access and browser behavior

Try the URL from another device on the same LAN, and temporarily bypass a reverse proxy or VPN if your setup allows it. Check that the device is on the right Wi-Fi or VLAN and that local firewall rules permit access to the frontend port. Try a private browser window or another browser to rule out stale cache or an extension. If one browser or network works and another does not, investigate that client’s cache, DNS, VPN, or network rules.

7. Check the proxy path and base URL

If you access Zigbee2MQTT through a reverse proxy or a subpath, confirm that the proxy forwards requests to the correct host and frontend port and preserves the path expected by the app. WebSocket forwarding may also be required for live updates; check your proxy’s configuration and logs rather than guessing at directives. Test the direct frontend URL first. If it works directly but not through the proxy, the proxy configuration is the likely cause.

CauseSymptomQuick test
Wrong or closed portBrowser reports that the site cannot be reachedOpen the configured host and port directly on the LAN
Frontend disabledNo frontend startup message or pageCheck the frontend setting, enable it, and restart
MQTT base topic or broker issuePage opens but devices or discovery are missingReview broker connection logs and the configured topic prefix
Proxy or network ruleDirect URL works, proxied URL does notTest without the proxy and inspect forwarding rules

FAQ

Why is the Zigbee2MQTT frontend not loading?

The frontend may be disabled, or the browser may be connecting to the wrong host or port. Check the frontend setting and try the configured address directly from the same network before changing other settings.

Does the Zigbee2MQTT base topic affect the frontend URL?

No. The base topic controls the MQTT topic prefix used for Zigbee2MQTT messages; the frontend address is determined by its web server and network configuration. If the page loads but devices are missing, then check the broker and topic settings.

How do I open the Zigbee2MQTT frontend in Home Assistant?

If your installation provides an add-on sidebar link, use it to open the frontend; otherwise use the configured host and port in a browser. Confirm the add-on or container exposes that port and that your device can reach it on the network.

Most cases of zigbee2mqtt frontend not working come down to the frontend setting, the address or port, or network forwarding; verify those in order and use the logs to separate web access from MQTT problems. If nothing worked, note your installation type, configured port, exact browser symptom, and relevant startup log lines, then compare them with the documentation for your Zigbee2MQTT version.

Photo: iSys.PL / Attribution (Wikimedia Commons)

Leave a Comment

Needle Keeps Breaking on Your Brother: 7 Real Causes

Needle Keeps Breaking on Your Brother: 7 Real Causes

Fix a brother embroidery machine needle keeps breaking with seven practical checks for hooping, needle choice, threading, tension, fabric and machine clearance.

Underlay Stitches Explained: When Each Type Matters

Underlay Stitches Explained: When Each Type Matters

Learn how embroidery digitizing underlay stitches stabilize fabric, improve coverage, and prevent puckering, gaps, and rough edges with practical checks.

Cricut Maker Not Cutting Cardstock: Blade and Passes

Cricut Maker Not Cutting Cardstock: Blade and Passes

Fix cricut maker not cutting through cardstock by checking the blade, mat, material setting, pressure, and repeat cuts in Cricut Design Space.

Bobbin Thread Showing on Top: Tension and Bobbin Case

Bobbin Thread Showing on Top: Tension and Bobbin Case

Fix brother embroidery bobbin thread showing on top by checking threading, bobbin seating, lint, needle condition, and upper tension before adjusting settings.

Vinyl Stuck to Transfer Tape: Release and Temperature

Vinyl Stuck to Transfer Tape: Release and Temperature

Vinyl stuck to transfer tape? Check the liner, adhesive, pressure, and temperature to find the cause and release your design without stretching it.

Serger Thread Keeps Slipping Out of the Needle: Fixes

Serger Thread Keeps Slipping Out of the Needle: Fixes

Serger thread keeps coming out of needles? Check threading, tension, needle position, and stitch settings to find the cause and get sewing again today.

Cricut Design Space Broken After Update: Rollback

Cricut Design Space Broken After Update: Rollback

Fix cricut design space not working after update with cache cleanup, a clean reinstall, connection checks, and practical steps to restore projects and cutting.

Brother PE800 Auto Threader Not Working: Adjustment

Brother PE800 Auto Threader Not Working: Adjustment

Fix brother pe800 auto threader not working by checking needle position, needle type, threading technique, and hook alignment before arranging service.

Cameo 4 Registration Keeps Failing: Sensor Cleaning

Cameo 4 Registration Keeps Failing: Sensor Cleaning

Fix silhouette cameo 4 registration keeps failing with careful sensor cleaning, print checks, mat setup, and tests to identify when service is needed.

Silhouette Cameo 4 Check Cross Cutter: Fix Guide

Silhouette Cameo 4 Check Cross Cutter: Fix Guide

Silhouette Cameo 4 check cross cutter error? Find the common cause, clear the cutter path, check settings, and test a safe manual cut before resuming.