Skip to main content

You are looking at Video Calling v3.x Docs. The newest version is  Video Calling 4.x

Android
iOS
macOS
Windows C++
Windows C#
Unity
Flutter
React Native
Electron
Cocos Creator
Cocos2d-x

Firewall requirements

Introduction

To allow you to use Agora products in environments with restricted network access, Agora provides two solutions: the firewall whitelist and the Agora cloud proxy.

The following table lists the support of Agora products for the two solutions:

Agora ProductsFirewall WhitelistAgora Cloud Proxy
Video SDK (Native, third-party frameworks)
Video SDK (Web)
Signaling SDK (Native, Web)
On-Premise Recording SDK
Interactive Gaming SDK
  • If you want to use Agora products across a VPN, ensure that you have contacted the VPN operator to add the corresponding ports to the whitelist; otherwise, you may encounter undefined behaviors such as call failure.
  • Unless otherwise specified, the source address is the client that integrates the Agora SDK.
  • Video SDK

    Video SDK (Web)

    Add the following destination domains and the corresponding ports to your firewall whitelist, depending on the version of the Web SDK you are using.

    Domains

    • Web SDK 4.x

      • 4.4.0 and later


        _4
        .agora.io
        _4
        .edge.agora.io
        _4
        .sd-rtn.com
        _4
        .edge.sd-rtn.com

      • Versions earlier than 4.4.0


        _4
        .agora.io
        _4
        .edge.agora.io
        _4
        .agoraio.cn
        _4
        .edge.agoraio.cn

    • Web SDK 3.x

      • 3.5.0 and later


        _4
        .agora.io
        _4
        .edge.agora.io
        _4
        .sd-rtn.com
        _4
        .edge.sd-rtn.com

      • Versions earlier than 3.5.0


        _4
        .agora.io
        _4
        .edge.agora.io
        _4
        .agoraio.cn
        _4
        .edge.agoraio.cn

    Ports

    Destination portsPort typeOperation
    80; 443; 3433; 4700 - 5000; 5668; 5669; 6080; 6443; 8667; 9667; 30011 - 30013 (for Media Push)TCPAllow
    3478; 4700 - 5000 (2.9.0 or later); 10000 - 65535 (before 2.9.0)UDPAllow

    Signaling SDK

    Signaling SDK (Native)

    Add the following destination domains and the corresponding ports to the firewall whitelist:


    _1
    .agora.io

    Destination portsPort typeOperation
    8443; 9130; 9131; 9136; 9137; 9140, 9141TCPAllow
    1080; 8000; 8130; 8443; 9120; 9121; 9700; 25000UDPAllow

    Signaling SDK (Web)

    Add the following destination domains and the corresponding ports to the firewall whitelist:

    Domains

    • 1.4.3 or later

    _10
    .edge.agora.io
    _10
    .edge.sd-rtn.com
    _10
    web-1.ap.sd-rtn.com
    _10
    web-2.ap.sd-rtn.com
    _10
    ap-web-1.agora.io
    _10
    ap-web-2.agora.io
    _10
    webcollector-rtm.agora.io
    _10
    logservice-rtm.agora.io
    _10
    rtm.statscollector.sd-rtn.com
    _10
    rtm.logservice.sd-rtn.com

    • Earlier than 1.4.3

    _12
    .agora.io
    _12
    .agoraio.cn
    _12
    .edge.agora.io
    _12
    .edge.agoraio.cn
    _12
    ap-web-1.agora.io
    _12
    ap-web-1.agoraio.cn
    _12
    ap-web-2.agora.io
    _12
    ap-web-2.agoraio.cn
    _12
    webcollector-rtm.agora.io
    _12
    logservice-rtm.agora.io
    _12
    webcollector-rtm.agoraio.cn
    _12
    logservice-rtm.agoraio.cn

    Ports

    Destination portsPort typeOperation
    443; 6443; 9591; 9593; 9601TCPAllow

    Video Calling