Overview
A listener defines a protocol and port combination on which a load balancer accepts inbound connections. A single load balancer supports multiple listeners simultaneously — e.g., an HTTP listener on port 80 and an HTTPS listener on port 443 can share the same load balancer VIP. Each listener routes traffic to its own default pool.Prerequisites
- An active Xloud account with appropriate permissions
- Access to the Xloud Dashboard (
https://connect.<your-domain>) or CLI configured with credentials - API credentials sourced (
source admin-openrc.sh)
Supported Protocols
| Protocol | Port | Use Case |
|---|---|---|
HTTP | Typically 80 | Unencrypted web application traffic |
TERMINATED_HTTPS | Typically 443 | TLS offloaded at the load balancer; backend receives plain HTTP |
HTTPS | Typically 443 | TLS passthrough; load balancer does not decrypt traffic |
TCP | Any | Any TCP service — databases, custom protocols |
UDP | Any | UDP-based services — DNS, game servers |
SCTP | Any | SCTP-based telecommunications traffic |
Add a Listener
- Dashboard
- CLI
Open listener creation
Navigate to Project → Network → Load Balancers, select your load balancer,
and click the Listeners tab. Click Create Listener.
Configure the listener
| Field | Description |
|---|---|
| Name | Display name (e.g., listener-https) |
| Protocol | Select from supported protocols above |
| Protocol Port | Port on which the listener accepts connections |
| Connection Limit | Maximum concurrent connections (-1 for unlimited) |
| Default TLS Container | For TERMINATED_HTTPS — select the certificate from Xloud Key Manager |
TLS Termination (TERMINATED_HTTPS)
TLS termination offloads certificate processing at the load balancer and forwards plain HTTP to backend members — reducing CPU overhead on application servers.Store certificate in Key Manager
Store your TLS certificate and private key in Xloud Key Management:
Create secret container with certificate and key
Manage Listeners
Next Steps
Pools
Configure backend pools and member management for each listener.
Health Monitors
Set up health checks for pools backing your listeners.
Floating IP Assignment
Expose the load balancer VIP publicly after configuring listeners.
Troubleshooting
Resolve TLS handshake failures and protocol-specific issues.