All Products
Search
Document Center

Anti-DDoS:Customize server ports

Last Updated:Sep 19, 2026

Anti-DDoS Proxy protects web services on port 80 (HTTP) and port 443 (HTTPS) by default. To use other ports, modify the server ports in your website configuration.

Custom port limits

Port range limits

  • HTTP: 80–65535.

  • HTTPS: 80–65535.

Note

However, based on network access tests, some ISPs may block traffic to certain vulnerable ports due to security risks. These vulnerable TCP ports include 42, 135, 137, 138, 139, 445, 593, 1025, 1434, 1068, 3127, 3128, 3129, 3130, 4444, 5554, 5800, 5900, and 9996.

If your web service uses any of these vulnerable ports, users in some regions may not be able to access your service after you connect it to Anti-DDoS Proxy. Therefore, before you connect your web service to Anti-DDoS Proxy, ensure that it uses other, non-vulnerable ports.

Maximum number of ports

Each Anti-DDoS Proxy instance supports a maximum of 10 unique ports across all website configurations, regardless of protocol.

For example, if one instance protects websites A (HTTP) and B (HTTPS):

Configuring HTTP ports 80 and 8080 for website A leaves up to 8 HTTPS ports available for website B.

Modify server ports

You can set custom ports when you add a website configuration. To change ports for an existing website:

  1. Log on to the Anti-DDoS Proxy console.

  2. In the top navigation bar, select the region of your instance.

    • Anti-DDoS Proxy (Chinese Mainland): Choose the Chinese Mainland region.

    • Anti-DDoS Proxy (Outside Chinese Mainland): Choose the Outside Chinese Mainland region.

  3. In the left-side navigation pane, choose Onboarding > Website Config.

  4. Find the website configuration, then click Edit in the Actions column.

  5. In the Server Port section, modify the HTTP or HTTPS ports. Separate multiple ports with commas. To check supported ports, click View Optional Range. Then click Next.

  6. Click Complete and Return to Domain Name List, verify your changes, and click OK.

FAQ

What are the port limits for Anti-DDoS Proxy?