Home Assistant / ClickHouse
What is Port 8123?
Port 8123 is most commonly associated with Home Assistant, the popular open-source home automation platform. Home Assistant's web interface and API run on port 8123, providing a dashboard for controlling smart home devices, creating automations, and monitoring sensors. Port 8123 is also the default HTTP interface port for ClickHouse, an open-source columnar database designed for online analytical processing (OLAP). ClickHouse, developed by Yandex, handles billions of rows with sub-second query performance. Both services have large user bases — Home Assistant for home automation enthusiasts and ClickHouse for data analytics teams.
Common Uses
- Home Assistant web interface and API
- ClickHouse HTTP query interface
- Smart home device management dashboards
- OLAP analytics queries
Technical Details
Copy-paste commands to check port 8123 (Home Assistant / ClickHouse) from your terminal
Test connectivity
nc -zv example.com 8123
curl -v --max-time 5 http://example.com:8123/
telnet example.com 8123
nmap -p 8123 -sV example.com
(echo > /dev/tcp/example.com/8123) 2>/dev/null && echo "open" || echo "closed"
Open port in firewall
sudo ufw allow 8123/tcp
sudo iptables -A INPUT -p tcp --dport 8123 -j ACCEPT
sudo firewall-cmd --permanent --add-port=8123/tcp && sudo firewall-cmd --reload
Security Considerations
Home Assistant should be accessed via HTTPS. Use strong passwords and enable multi-factor authentication. When exposed externally, use a VPN or Home Assistant Cloud (Nabu Casa) rather than direct port forwarding. For ClickHouse, enable authentication and restrict access to authorized analytics users. Both should be behind firewalls.
Popular Ports Reference
The most commonly used and referenced network ports