After you create a Network Load Balancer (NLB) instance, you must configure listeners for the NLB instance. An NLB listener is used to listen for connection requests and forward requests to backend servers based on a scheduling algorithm. This topic describes the protocols and ports supported by NLB listeners.
Listener protocols
Protocol | Description | Scenario |
TCP |
|
For more information, see Add a TCP listener. |
UDP |
| Suitable for scenarios in which real-time transmission outweighs reliability, such as video conferencing and real-time quote services. For more information, see Add a UDP listener. |
TCPSSL |
| NLB can forward encrypted TCP requests. You can use TCP/SSL in scenarios that require high security over TCP, such as large-scale TLS offloading. For more information, see Create a TCP/SSL listener. |
Port settings
Port type | Description | Limit |
Listener ports (frontend ports) | Used by NLB to receive and forward requests to backend servers. | For each NLB instance:
|
Service ports (backend ports) | Used by backend servers to receive requests. An NLB instance can forward requests from a listener port to multiple backend ports that are used by different backend servers of the NLB instance. | For each NLB instance: You can associate a backend port with listeners that use different protocols. For example, you can associate a backend port with a TCP listener that listens on port 80 and a TCP/SSL listener that listens on port 81. |