Konnect deployments run in either managed or Hybrid Mode, which means there is a separate control plane attached to a data plane consisting of one or more data plane nodes. Konnect control planes and data plane nodes rely on specific ports and hostnames for secure communication and configuration. The following tables detail the required ports for cluster communication, audit logging, and the hostnames for connecting to regional control plane and telemetry endpoints.
Networking in Konnect
Control plane ports
The Konnect control plane uses the following ports:
|
Port |
Protocol |
Description |
|---|---|---|
443
|
TCP HTTPS |
Cluster communication port for configuration and telemetry data. The Konnect control plane uses this port to listen for connections and to communicate with data plane nodes. The cluster communication port must be accessible to data plane nodes within the same cluster. This port is protected by mTLS to ensure end-to-end security and integrity. |
807120010
|
TCP UDP |
Ports used for audit logging. |
Kong Gateway’s hosted control plane expects traffic on these ports, so they can’t be customized.
Note: If you can’t make outbound connections using port
443, you can use an existing proxy in your network to make the connection. See Use a forward proxy to secure communication across a firewall for details.
Data plane node ports
The proxy ports are the only ports that should be made available to your clients. Upstream services are accessible via the proxy interface and ports, so make sure that these values only grant the access level you require.
Your proxy will need rules added for any HTTP/HTTPS and TCP/TLS stream listeners that you configure. For example, if you want Kong Gateway to manage traffic on port 4242, your firewall must configure the Route to allow traffic on that port.
The following are the default proxy ports:
|
Port |
Protocol |
|
Description |
|---|---|---|---|
8000
|
HTTP |
proxy_listen
|
Takes incoming HTTP traffic from Consumers, and forwards it to upstream services. |
8443
|
HTTPS |
proxy_listen
|
Takes incoming HTTPS traffic from Consumers, and forwards it to upstream services. |
You can also proxy TCP/TLS streams, which is disabled by default. If you want to proxy this traffic, see stream_listen in the Kong configuration reference for more information about stream proxy listen options and how to enable it.
Hostnames
Depending on the regions your organization uses, you’ll need to add specific hostnames to an allowlist.
Replace REGION with the region identifier for your geo.
The specific hostnames depend on your runtime or application.
The following geographic regions and their hostname region identifiers are supported:
- AU (Australia):
au - EU (Europe):
eu - ME (Middle East):
me - IN (India):
in - SG (Singapore) (beta):
sg - US (United States):
us
Important: Visit https://ip-addresses.origin.konghq.com/ip-addresses.json for a full list of regional and service ingress IPs. The
ingressIPssection contains a list of all ingress IPs per geo and consolidated IPs per service.
To avoid coupling firewall rules to specific services or DNS suffixes (such ascp,tp), we recommend adding the values in theingressIPsblock for each region to an allowlist. This ensures your setup is more resilient to future infrastructure or DNS changes. You can also subscribe to https://ip-addresses.origin.konghq.com/rss for updates.
Shared hostnames
Allowlist the following hostnames for any runtime or application:
|
Hostname |
Description |
|---|---|
cloud.konghq.com
|
The Konnect platform. |
global.api.konghq.com
|
The Konnect API for platform authentication, identity, permissions, teams, and organizational entitlements and settings. |
API Gateway hostnames in Konnect
In addition to the shared hostnames, add the following Kong Gateway hostnames to your firewall allowlist:
|
Hostname |
Description |
|---|---|
REGION.api.konghq.com
|
The Konnect API for the geo. Required if you use decK, which uses this API to access and apply configurations. |
CONTROL_PLANE_DNS_PREFIX.REGION.cp.konghq.com
|
Handles configuration for a Kong Gateway control plane in the geo. Data plane nodes connect to this host to receive configuration updates. This hostname is unique to each organization and control plane. |
CONTROL_PLANE_DNS_PREFIX.REGION.tp.konghq.com
|
Gathers telemetry data for a Kong Gateway control plane in the geo. This hostname is unique to each organization and control plane. |
Event Gateway hostnames in Konnect
In addition to the shared hostnames, add the following Event Gateway hostnames to your firewall allowlist:
|
Hostname |
Description |
|---|---|
REGION.control-plane.konghq.com
|
Handles configuration for a Event Gateway control plane in the geo. Data plane nodes connect to this host to receive configuration updates. |
REGION.telemetry.konghq.com
|
Gathers telemetry data for a Event Gateway control plane in the geo. |
Mesh hostnames in Konnect
In addition to the shared hostnames, add the following Kong Mesh hostnames to your firewall allowlist:
|
Hostname |
Description |
|---|---|
REGION.mesh.sync.konghq.com
|
The URL for the Mesh runtime in the geo. |
Konnect application hostnames
In addition to the shared hostnames, add the following Konnect application hostnames to your firewall allowlist:
|
Hostname |
Description |
|---|---|
REGION.identity.konghq.com
|
The URL for the Identity server in the geo. |
PORTAL_ID.REGION.kongportals.com
|
The URL for the Dev Portal in the geo. |
Specify IP addresses that can connect to Konnect
Org Admins can specify an IP address or a range of IP addresses that are allowed to connect to Konnect through its supported interfaces. This includes the UI, the Konnect APIs, the Admin API, decK, kongctl, and Terraform.
This IP allowlist applies to all Konnect communication that goes through the Admin API.
Important:
- If the source IP address you have added to an allowlist is no longer reachable and IP allowlist enforcement is enabled, access to Konnect will be blocked.
- If you’re configuring an IP allowlist for the first time, it takes effect immediately. If you’re editing existing IP allowlist values, the changes will take effect after five minutes.
To configure an IP allowlist for Konnect, send a PUT request to the /organizations/$ORG_ID/ip-allow-list endpoint:
curl -X PUT "https://global.api.konghq.com/v3/organizations/$ORG_ID/ip-allow-list" \
--no-progress-meter --fail-with-body \
-H "Authorization: Bearer $KONNECT_TOKEN" \
--json '{
"enabled": true,
"allowed_ips": [
"192.168.1.1",
"192.168.1.0/22"
]
}'You can also configure allowed IPs for your Dev Portals. For more information, see Specify IP addresses that can connect to your Dev Portal.
FAQs
What types of data travel between the Konnect control plane and the data plane nodes, and how?
Two types of data travel between planes using secure TCP port 443:
- Configuration: The control plane sends config data to the data plane nodes.
- Telemetry: Data plane nodes send usage data to the control plane for Analytics and billing.
Telemetry includes traffic metrics by Service, Route, and consuming application. It does not include any customer data. All telemetry is encrypted using mTLS.
If you use Debugger, Konnect will collect request and response data. Konnect only collects this data if you’ve opted in to Debugger, it doesn’t collect this data by default.
How frequently do data planes send telemetry data to the control plane?
Telemetry data is sent at different intervals depending on the data plane version:
- 2.x: Every 10 seconds by default
- 3.x: Every 1 second by default
You can customize this interval using the analytics_flush_interval setting.
How long can data plane nodes remain disconnected from the control plane?
Data plane nodes continue pinging the control plane until reconnected or stopped. They use cached config and function normally, unless:
- The license expires
- The cached config file (
config.json.gzordbless.lmdb) is deleted
Where is configuration cached on data plane nodes?
When a data plane node receives new configuration from the control plane, it immediately loads it into memory and also caches it to disk. The cache location depends on the Gateway version:
-
2.x Gateway: The data plane node stores the configuration in an unencrypted cache file,
config.json.gz, in the Kong Gateway prefix path. -
3.x Gateway: The data plane node stores the configuration in an unencrypted LMDB database directory,
dbless.lmdb, also in the Kong Gateway prefix path.
What happens if the control plane and data plane nodes disconnect?
Data plane nodes use the cached configuration until they can reconnect. Once reconnected, the control plane sends the latest configuration. The control plane does not queue or replay any older configuration changes.
Can I restart a data plane node if the control plane is down or disconnected?
Yes. Restarting a data plane node will load its cached configuration and resume normal function.
Can I change a data plane node’s configuration when it’s disconnected from the control plane?
Yes:
- Copy the configuration cache file or directory from a working node
- Remove the cache and use
declarative_config
If the data plane loses communication with the control plane, what happens to telemetry data?
The data plane buffers request data locally. If the buffer fills up (default: 100000 requests), older data is dropped.
You can configure the buffer size using the analytics_buffer_size_limit setting.
How do the control plane and data plane communicate?
Data traveling between control planes and data planes is secured through a mutual TLS handshake. Data plane nodes initiate the connection to the Konnect control plane. Once the connection is established, the control plane can send configuration data to the connected data plane nodes.
Each data plane node maintains a persistent connection with the control plane and sends a heartbeat every 30 seconds. If the control plane doesn’t respond, the data plane node attempts to reconnect after a 5–10 second delay.
What IP addresses are associated with Konnect regional hostnames?
Visit https://ip-addresses.origin.konghq.com/ip-addresses.json for the list of IPs associated to regional hostnames. You can also subscribe to https://ip-addresses.origin.konghq.com/rss for updates.