TCPRegistered PortFirewall: Usually Closed
8123

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

Port Number8123
ProtocolTCP
CategoryRegistered
Service NameHome Assistant / ClickHouse
Default FirewallUsually Closed
Port Test Commands

Copy-paste commands to check port 8123 (Home Assistant / ClickHouse) from your terminal

Test connectivity

Netcat (nc)Check if TCP port is reachable
nc -zv example.com 8123
curl (HTTP)Test HTTP response on this port
curl -v --max-time 5 http://example.com:8123/
TelnetBasic TCP port connectivity check
telnet example.com 8123
nmapScan port 8123 with service detection
nmap -p 8123 -sV example.com
Bash /dev/tcpPure bash TCP check (no extra tools needed)
(echo > /dev/tcp/example.com/8123) 2>/dev/null && echo "open" || echo "closed"

Open port in firewall

UFW (Ubuntu / Debian)
sudo ufw allow 8123/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 8123 -j ACCEPT
firewalld (RHEL / CentOS)
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

Related Ports