Supported protocols and port configuration

Last updated:2021-05-26 16:59:48

Kingsoft Cloud SLB supports Layer 4 listeners and Layer 7 listeners, which respectively correspond to the transport layer and application layer in the OSI model.

Protocol and port configuration for Layer 4 listeners

A Layer 4 listener listens to Layer 4 requests (TCP or UDP requests) and distributes the requests to backend servers. The following table describes the configuration to implement Layer 4 forwarding.

Frontend or backend protocol Frontend port (SLB port) Backend port (server port) Remarks
TCP or UDP The port used by SLB to receive requests when SLB provides services for internal or external resources. The port range is 1 to 65535, where port 445 is not available. The ports for receiving traffic distributed by SLB. In an SLB instance, an SLB port corresponds to multiple server ports. Frontend ports must be unique in an SLB instance. Backend ports can be the same in an SLB instance or a listener. Ports of a real server in a listener must be unique.

Protocol and port configuration for Layer 7 listeners

A Layer 7 listener listens to Layer 7 requests (HTTP or HTTPS requests) and distributes the requests to backend servers. The following table describes the configuration to implement Layer 7 forwarding.

Frontend or backend protocol Frontend port (SLB port) Backend port (server port) Remarks
HTTP or HTTPS The port used by SLB to receive requests when SLB provides services for internal or external resources. The port range is 1 to 65535, where port 445 is not available. The ports for receiving traffic distributed by SLB. In an SLB instance, an SLB port corresponds to multiple server ports. Frontend ports must be unique in an SLB instance. Backend ports can be the same in an SLB instance or a listener. Ports of a real server in a listener must be unique.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈