We use WebRTC, via Twilio, to help deliver calls. Following are some network connectivity requirements. If you are at an organization (e.g. university/college) and calls aren’t working, provide the information on this page to your IT department.
- What are Twilio Client’s network connectivity requirements?
- How should I configure my firewall to support Twilio Client?
- Where can I find Amazon’s public IP address range?
Ports used by Twilio Client WebRTC 1.x
|Component||Address||Client-side port used||Server-side port used||Protocol|
|RTP||A dynamic IP pulled from Amazon’s public range †||Any‡||10,000 – 20,000||UDP|
† Twilio’s media servers provision their IP address dynamically from Amazon’s public range of IP addresses. You can find Amazon’s current public ranges by checking their forums. Amazon changes these ranges often, and Twilio Client services could originate from any address in these ranges.
‡ The client will select any available port from the ephemeral range. On most machines, these means the port range 1,024 to 65,535.
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. Due to the dynamic nature of Twilio’s cloud platform, we strongly recommend that you not limit this access to a specific range of IP addresses.
If your network policy requires that you restrict network access, you will need to ensure that your firewall allows outgoing UDP and associated return traffic to any IP address in Amazon’s published range of public IPs.