What are Twilio Client's network connectivity requirements?

Port Requirements

Ports used by Twilio Client WebRTC 1.x

The Twilio Client JavaScript SDK will establish a connection to Twilio as documented below:

Component

Address

Client-side port used

Server-side port used

Protocol

Signaling

Global Low-Latency Domains

chunderw-gll.twilio.com

chunderw-vpc-gll.twilio.com

Regional Domains

au1: chunderw-vpc-gll-au1.twilio.com
br1: chunderw-vpc-gll-br1.twilio.com
ie1: chunderw-vpc-gll-ie1.twilio.com
jp1: chunderw-vpc-gll-jp1.twilio.com
sg1: chunderw-vpc-gll-sg1.twilio.com
us1: chunderw-vpc-gll-us1.twilio.com

Any†

443

TCP

Presence

matrix.twilio.com

Any†

443

TCP

RTP

 Static IP range *

Any†

10,000 - 20,000

UDP

Insights

eventgw.twilio.com

Any†

 443 TCP

* 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. For Client 1.2 and earlier Twilio's media servers are automatically selected based on location and the media service IP address is assigned from the static range of that region.

† The client will select any available port from the ephemeral range. On most machines, this means the port range 1,024 to 65,535.

Ports used by Twilio Client Mobile 1.x

The Twilio Client iOS and Android SDKs will establish a connection to Twilio as documented below:

Component

Address

Client-side port used

Server-side port used

Protocol

Signaling

chunderm.gll.twilio.com §

Any†

10194

TCP

Presence

matrix.twilio.com

Any†

443

TCP

RTP

Static IP range *

Any†

10,000 - 20,000

UDP

*Twilio's media servers are automatically selected based on the location of the mobile device and the media service IP address is assigned from the static range of that region. Note that region selection is not available using mobile Client.

† The client will select any available port from the ephemeral range. On most machines, this means the port range 1,024 to 65,535.

§ Uses a DNS SRV lookup to resolve this name to _sips._tcp.chunderm.gll.twilio.com.

Bandwidth Requirements

Product

Codec used

Bandwidth required (incl. overhead)

Twilio Client WebRTC

PCMU

10 kilobytes/second

Twilio Client Mobile

PCMU

10 kilobytes/second

Firewall Configuration

How should I configure my firewall to support Twilio Client?

Your firewall should allow outgoing UDP to the the public internet from the browsers that will be using Twilio Client and allow return traffic in response.

Have more questions? Submit a request
Powered by Zendesk