Issue
Clients cannot access a Server Load Balancer (SLB) instance.
Solution
The ports and IP addresses in this topic are for reference only. When you troubleshoot the issue that clients cannot access an SLB instance, configure the ports and internal IP addresses based on the actual scenario.
Cause | Solution |
---|---|
The backend servers of a Layer 4 listener cannot access an SLB instance due to the following reasons:
|
|
A health check exception occurs. | To troubleshoot health check exceptions, see How do I troubleshoot health check exceptions of a layer-4 (TCP/UDP) listener? and How do I troubleshoot a health check exception of a layer-7 (HTTP/HTTPS) listener?. |
You cannot use SLB to deploy FTP, Trivial File Transfer Protocol (TFTP), H323, and Session Initiation Protocol (SIP) services. | If you want to deploy an FTP service, use the following methods:
|
The internal firewall of a server does not allow traffic on port 80. | You can use the following methods to temporarily disable the firewall:
|
A backend port exception occurs. | Troubleshoot backend port exceptions based on the following information:
|
The rp_filter parameters conflict with a policy-based route of the Linux Virtual Server (LVS) of SLB. |
|
A listener exception occurs. | Run the following commands on the server. If 10.XX.XX.1:80 or 0.0.0.0:80 is returned, the listener works as expected. Then, troubleshoot based on the actual scenario.
|
No listeners are configured for the SLB instance. | Configure listeners. For more information, see Listener overview. |
The SLB instance cannot be accessed by using its domain name. This may be caused by an error in domain name resolution. | N/A. |
An exception occurs on the on-premises network of the client or the intermediate link of the Internet service provider (ISP). | Test the connectivity on the service port of the SLB instance in different regions and network environments. If the exception occurs only when the SLB instance is accessed from the on-premises network, the issue is caused by a network exception. You can perform ping and MTR tests for further troubleshooting and analysis. |
The client IP address is blocked by Alibaba Cloud Security. |
|
After you switch from Anti-DDoS Pro/Premium to Anti-DDoS Origin, the whitelist is not disabled. | Disable the whitelist. For more information, see Configure the IP address blacklist and whitelist for an Anti-DDoS Pro or Anti-DDoS Premium instance. |