Home / Localhost / localhost:8123

localhost:8123 (Home Assistant): not working and fixes

Port 8123 is the web address of Home Assistant. How to open it and fix problems.

Open this address: http://localhost:8123This opens on your own computer. It only works if the program is running.

localhost:8123 is the web page of Home Assistant. On a separate device such as a Raspberry Pi, you open its address, for example homeassistant.local:8123, from another computer.

localhost:8123 in a browser address bar reaches port 8123 on your computer, where Home Assistant is running

What runs on localhost:8123

Commands to start and test port 8123

Test the page
curl -I http://localhost:8123
Home Assistant in Docker
docker run -d --name homeassistant --network=host -v ./config:/config ghcr.io/home-assistant/home-assistant:stable
Check from another computer
curl -I http://homeassistant.local:8123

Find what is using port 8123

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:8123 will not open

Which port does my install use?
Home Assistant’s HTTP settings say the default port is 8123 for Home Assistant Container, and that Home Assistant OS changes its default to 80 starting with release 2026.8. If :8123 gives nothing on a new Home Assistant OS install, try the address without a port. The port is the server_port setting.
400 Bad Request or blocked behind a reverse proxy
Home Assistant’s docs say requests from a reverse proxy are blocked unless you turn on Trust X-Forwarded-For (use_x_forwarded_for) and add the proxy to trusted_proxies. For a network, use the network address, such as 192.168.1.0/24, not a host address. Check the Home Assistant log for the exact cause.
Only listen on some addresses
Leaving server_host empty listens on all interfaces. Set it to restrict where Home Assistant answers.
Too many wrong logins
IP banning (ip_ban_enabled) blocks an address after repeated failed logins. The threshold can be set between 1 and 1000.
homeassistant.local does not work
Name lookup depends on your network. Use the IP address of the device with :8123 instead.
The page takes long to load on first start
The first start can take several minutes while it sets itself up.
Port 8123 is already in use
Another program is on this port. Find it with the tool below and stop it, or start yours on another port.
This site can’t be reached (ERR_CONNECTION_REFUSED)
The program is not running. Start it and keep that terminal open. See the full checklist.
Works on your computer, not on your phone
Start the server on all network addresses and use your computer’s IP address. See how to open localhost from your phone.

Other ports like 8123

PortUsually used by
localhost:11434Ollama (AI models)
localhost:5601Kibana
localhost:11501Khajane 2 helper (reported)
localhost:9200Elasticsearch
localhost:5672RabbitMQ
localhost:15672RabbitMQ admin page
localhost:9090Prometheus

Questions about localhost:8123

Why does localhost not work?
If Home Assistant runs on another device, localhost is your own computer. Use that device’s name or IP address.
Is localhost:8123 safe?
Yes, as long as it stays on localhost. Only your own computer can reach it. It becomes reachable from other devices only if you start the program on 0.0.0.0 or your computer's IP address. Do not put development or admin tools on the public internet.

Updated 2026-10-20

Free tools that help

Related pages