What are Twilio Client's Network Connectivity Requirements?

The following article outlines Twilio Client's requirements for network connectivity. Continue reading to find our Client VoIP port and bandwidth requirements, as well as our firewall configuration recommendations.

For Twilio Programmable Video network requirements, please see Programmable Video IP Address Whitelisting (Twilio Docs).

Twilio Client WebRTC 1.x (Twilio.js) Port Requirements

Component Address Server-side port used † Protocol
Signaling - GLL
(Global Low Latency)
chunderw-gll.twilio.com
chunderw-vpc-gll.twilio.com
443 TCP
Signaling -
Regional
chunderw-vpc-gll-{region}.twilio.com
(Regions: au1, br1, de1, ie1, jp1, sg1, us1)
443 TCP
RTP Static IP range * 10,000 - 20,000 UDP
Insights eventgw.twilio.com 443 TCP 

The client-side will select any available port from the ephemeral range. On most machines, this means the port range 1,024 to 65,535.
* Twilio Client 1.3 and higher lets you select the specific Twilio data center used when your Twilio Client Device connects to Twilio. Network communication to and from Twilio will originate/terminate from the fixed, static IP address ranges listed here for each region.

Twilio Programmable Voice SDK 2.x (iOS and Android) Port Requirements

Component Address Server-side port used † Protocol
Signaling - GLL
(Global Low Latency)
chunderm.gll.twilio.com (Dynamic IPs) § 10194 TCP
Signaling - Regional chunderm.{region}.twilio.com (Dynamic IPs) §
{Regions: au1, br1, de1, ie1, jp1, sg1, us1}
10194 TCP
RTP Static IP range * 10,000 - 20,000 UDP 

§ The initial GLL and Regional chunderm.x.twilio.com signaling address are only used in the initial connection; these connections will be redirected to a dynamic IP using port 10194.
* Twilio Programmable Voice SDK 2.x lets you select the specific Twilio data center used when your Twilio SDK Device connects to Twilio. Network communication to and from Twilio will originate/terminate from the fixed, static IP address ranges listed here for each region.

Bandwidth Requirements

Product Platform Codec used Bandwidth required (including overhead)
Twilio Client 1.3+ (WebRTC) Desktop PCMU 10 kB/second
Twilio Programmable Voice SDK 2.x Mobile PCMU 10 kB/second

Firewall Configuration

Your firewall should allow outgoing UDP to the public internet from the browsers that will be using Twilio Client, and allow return traffic in response. If you are operating a restricted network that requires whitelisting of media IPs, our recommendation is to specify the region in your application. If your router includes SIP Application Level Gateway (ALG) function or Stateful Packet Inspection (SPI), disable both of these functions.

To check your overall firewall and port configuration, we recommend:

Note: It is possible to use Twilio's Network Traversal Service to restrict media traffic to UDP port 3478 by using our TURN servers. The regional media IPs will still need to be whitelisted, as will the TCP signaling port and hosts listed above. For more information about using TURN, please see our Network Traversal Service site.

Additional Resources

Have more questions? Submit a request
Powered by Zendesk