Network, ports and firewall¶
This reference page lists every network connection QubeSight makes or accepts, with direction, protocol and purpose, and the DNS, time and outbound requirements. The same ports in compact form are in Ports.
Community Enterprise
How ports are bound¶
The installer binds ports to one of two addresses, both configurable in .env:
| Setting | Default | Used for |
|---|---|---|
BIND_PUBLIC |
0.0.0.0 (all interfaces) |
Ports that users and log sources connect to. Must stay 0.0.0.0 when a virtual IP is used. |
BIND_ADMIN |
127.0.0.1 (this machine only) |
Management and data ports (local API, ClickHouse, MinIO). |
Each port number can be changed at installation (web installer Network step, or .env).
Inbound ports on a QubeSight server¶
Users and API clients¶
| Port | Protocol | From | Purpose | Bound to |
|---|---|---|---|---|
| 3000 | TCP (HTTPS) | User workstations, API clients | Web interface and REST API (/api/v1) through the gateway. Plain HTTP on the same port is redirected. |
BIND_PUBLIC |
| 8085 | TCP (HTTPS) | The server itself | Management API (same API as on 3000). | BIND_ADMIN |
During installation the web installer itself listens on 3000 (or 3001–3010 if busy) and hands the port over to the product at the end.
Log sources¶
| Port | Protocol | From | Purpose | Notes |
|---|---|---|---|---|
| 5140 | TCP | Guardium appliances, other syslog senders | Syslog intake (Vector) | UDP syslog is not supported. Restricted by the source IP allowlist. |
| 6514 | TCP + TLS | Same | Syslog over TLS | Cluster only, after ingest TLS is enabled. |
| 162 | UDP | Guardium appliances | SNMP traps (snmp-trap) | Restricted by the source IP allowlist. |
| 9092 | TCP (Kafka, SASL/SCRAM) | Filebeat and other Kafka producers | Kafka intake into topic filebeat-db-logs |
The broker advertises the server address you set at installation. |
| 9093 | TCP (Kafka, TLS + SASL/SCRAM) | Same | Kafka intake over TLS | Cluster only, after ingest TLS is enabled. |
| 19090 + broker ID | TCP | Kafka producers, through the virtual IP | Per-broker Kafka addresses advertised on the virtual IP (plain) | Cluster with a virtual IP. The gateway of the node holding the virtual IP forwards them. |
| 19190 + broker ID | TCP | Same | Per-broker Kafka addresses on the virtual IP (TLS) | Cluster with a virtual IP and ingest TLS. |
Cloud sources (Azure Event Hub, AWS Kinesis, AWS CloudWatch Logs) need no inbound port: the worker connects out to the cloud service.
Local-only ports¶
These ports are bound to BIND_ADMIN (default 127.0.0.1); the Redpanda admin API is always bound to 127.0.0.1 and the assistant to ASSISTANT_BIND (default 127.0.0.1). Do not open them in the firewall.
| Port | Service | Purpose |
|---|---|---|
| 8123 | ClickHouse | HTTP interface |
| 9002 | ClickHouse | Native interface (container port 9000) |
| 9644 | Redpanda | Admin API (authenticated) |
| 9000, 9001 | MinIO | S3 API and console of the local locked store (when on the same server) |
| 18090 | assistant | Embedded language model. Bind it to the LAN address only if other cluster nodes must use this server's model. |
Ports used only inside the container network¶
These have no host port: 8080 (control-plane), 8088 (worker and snmp-trap), 3000 (ui), 9091 (gateway management), 9090 (updater), 5432 (PostgreSQL on a single node), 29092 (Redpanda internal Kafka), 3306 (restore MySQL), 9598 (Vector metrics).
Ports between cluster members¶
Enterprise
Open these ports between all members of a cluster (full nodes and the witness) in both directions. Members bind them to their own LAN address unless noted.
| Port | Protocol | Members | Purpose |
|---|---|---|---|
| 22 | TCP (SSH) | From every full node to every member | Cluster management by the control plane with the product's SSH key |
| 9281 | TCP (mutual TLS) | All | ClickHouse Keeper client (older clusters: 9181 plain) |
| 9234 | TCP (mutual TLS) | All | ClickHouse Keeper Raft |
| 12383 | TCP (HTTPS) | All | etcd client |
| 12384 | TCP (mutual TLS) | All | etcd peers |
| 33145 | TCP (mutual TLS) | All | Redpanda broker-to-broker RPC |
| 29092 / 29093 | TCP (Kafka / Kafka TLS) | All | Redpanda internal listener used by Vector, workers and control planes on every node |
| 9010 | TCP (HTTPS) | Full nodes | ClickHouse replication (older clusters: 9009 plain) |
| 5432 (or 15432) | TCP (TLS) | Full nodes | PostgreSQL applications and replication. 15432 is used when 5432 is taken on the server. |
| 8008 (or 18008) | TCP (mutual TLS) | Full nodes | Patroni REST API. 18008 when 8008 is taken. |
| VRRP (IP protocol 112) | unicast | Full nodes | keepalived for the virtual IP |
The add node wizard checks that a new server can reach the existing members on these ports and reports the ones that are closed.
Firewall rules shown in the product
Platform → System and Cluster → Map draws every connection with its port, and lists the access rules (source, destination, port) that the firewall must allow, including outbound integrations that you have configured.
Outbound connections¶
QubeSight servers open these connections only when the corresponding feature is configured.
| Destination | Port | Purpose | Edition |
|---|---|---|---|
| Guardium Central Manager and managed units | 8443/TCP (HTTPS) | Guardium REST API: the Guardium integration, health reports, policies, groups, accounts | Both; the management features are Enterprise |
| Guardium appliances | 22/TCP (SSH) | Guardium CLI operations | Enterprise |
| Guardium archive server | 22/TCP (SSH/SCP) | Reading Guardium archive files | Both |
| Vault server | 9400/TCP (default) | Locked store on a separate server; SSH 22 once to deploy it | See Editions |
| External S3 store | 443/TCP or the store's port | Locked store and backups in your S3 Object Lock store | Enterprise |
| SFTP backup server | 22/TCP | Backups and daily log copies | Both |
| SMTP server | 25, 587 or 465/TCP | Alert and report e-mail | Both |
| Webhook, Slack, Microsoft Teams, PagerDuty | 443/TCP | Notifications | Webhook: both. Others: Enterprise |
| Syslog receivers, Splunk HTTP Event Collector | 514/6514 TCP or UDP, 8088/TCP by default | Alert notifications and SIEM forwarding | Enterprise |
| LDAP / Active Directory | 389 or 636/TCP | Directory sign-in | Both |
| OIDC identity provider | 443/TCP | Single sign-on | Enterprise |
| Azure Event Hub | 9093/TCP (Kafka protocol over TLS) | Azure database audit ingest | Enterprise |
| AWS Kinesis, AWS CloudWatch Logs | 443/TCP | AWS database audit ingest | Enterprise |
| Language-model providers | 443/TCP, or your provider's endpoint | External language models for the assistant | Enterprise |
| Ticketing systems (ServiceNow, Jira, REST) | 443/TCP | Change reconciliation | Enterprise |
| Database servers to scan | The database's port | Active sensitive-data scan | Enterprise |
updates.qubesight.io |
443/TCP | Update channel: check, download and apply signed patches | Enterprise |
huggingface.co |
443/TCP | One-time download of the embedded language model, if you do not supply the file | Both |
| Container registries and GitHub | 443/TCP | Building images from source during installation | Both (not needed with pre-built images) |
| Cloud metadata and secret services (AWS IMDS, Secrets Manager, License Manager; Azure IMDS, Key Vault) | 443/TCP or link-local | Marketplace first boot, instance-role access to S3, marketplace entitlement | Marketplace installations |
An installation that uses none of these features needs no outbound internet access. See Offline (air-gapped) installation.
Firewall checklist¶
- Allow 3000/TCP from the networks of the people who use QubeSight.
- Allow 5140/TCP and 162/UDP from your Guardium appliances and other syslog senders.
- Allow 9092/TCP from your Filebeat or Kafka senders.
- Allow the outbound connections for the features you use.
- Do not expose 8085, 8123, 9002, 9644, 9000, 9001 or 18090.
- Everything for a single node, on the virtual IP and on every full node.
- The cluster ports above between all members, in both directions.
- Port 9400/TCP from every full node to the vault server, if used.
- 19090 and up (and 19190 and up with TLS) on the virtual IP, for Kafka producers.
DNS¶
- Inside the stack, services find each other by container name. No DNS entry is needed for that.
- The server needs a working resolver in
/etc/resolv.confif it must resolve external names: the update channel, cloud services, SMTP, LDAP, identity and language-model providers. With Podman's netavark backend, containers ask the host's resolvers for external names; without any host resolver they cannot resolve them. - On Podman with the older CNI backend, a host resolver can break name resolution between containers. The product compensates for this in its own services and reports the result; switching to netavark is the permanent fix. See Installation problems.
- Optional: create a DNS name for the web interface (pointing at the virtual IP in a cluster) and include it in the web certificate. Set the same name as the server's public address so that links in notification e-mails use it.
Time synchronisation¶
Synchronise the clock of every QubeSight server, every cluster member and every log source with NTP.
- Event times come from the sources. Skewed source clocks place events at the wrong time in reports and alerts.
- Time-based one-time passwords (MFA) fail when the server clock is wrong.
- Cluster coordination, certificate validity and several time-limited internal states (for example the disk-guard state) assume clocks agree within a few minutes; skew above five minutes can make them misbehave.
Reverse proxies and load balancers¶
You can place your own TLS terminator or load balancer in front of the gateway. Set GATEWAY_TRUSTED_PROXIES to its address so that QubeSight trusts the X-Forwarded-For and X-Forwarded-Proto headers from it and records the real client address. Turn the gateway's own TLS off (GATEWAY_TLS=off) only if the terminator in front of it provides HTTPS.