Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

IP Address Whitelisting

Twilio's Programmable Video SDKs must communicate with Twilio's cloud in order to function. This guide lists the IP address ranges and protocols used to communicate with Twilio's cloud. If necessary, use this information to configure your firewall to enable communication with Twilio.

Note: This guide only covers communication from Twilio's Programmable Video client libraries to Twilio's cloud. Read this for information about securing requests from your server to the Twilio REST API.

Signaling Communication

JavaScript SDK 2.0+, iOS 3.0+, Android 5.0+

Region ID Location Host Name Port and Protocol
gll Global Low Latency (default) global.vss.twilio.com 443 WSS
au1 Australia au1.vss.twilio.com 443 WSS
br1 Brazil br1.vss.twilio.com 443 WSS
de1 Germany de1.vss.twilio.com 443 WSS
ie1 Ireland ie1.vss.twilio.com 443 WSS
in1 India in1.vss.twilio.com 443 WSS
jp1 Japan jp1.vss.twilio.com 443 WSS
sg1 Singapore sg1.vss.twilio.com 443 WSS
us1 US East Coast (Virginia) us1.vss.twilio.com 443 WSS
us2 US West Coast (Oregon) us2.vss.twilio.com 443 WSS

Legacy Signaling Communication

SDK Platform Server IP Address Range Port and Protocol
Javascript SDK - prior to 2.0 54.172.60.0 - 54.172.61.255
34.203.250.0 - 34.203.251.255
443 WSS
iOS SDK - 1.1.0 to 2.x 54.172.60.0 - 54.172.61.255
34.203.250.0 - 34.203.251.255
443 TLS
Android SDK - 1.1.0 to 4.x 54.172.60.0 - 54.172.61.255
34.203.250.0 - 34.203.251.255
443 TLS
iOS/Android SDKs - prior to 1.1.0 54.172.60.0 - 54.172.61.255
34.203.250.0 - 34.203.251.255
5061 TLS

Clients should be able to connect to the services at the following hostnames:

  • endpoint.twilio.com
  • mobile-endpoint.twilio.com

Media Servers

Region ID Location Server IP Address Range
au1 Australia 13.210.2.128 - 13.210.2.159
54.252.254.64 - 54.252.254.127
br1 Brazil 18.231.105.32 - 18.231.105.63
177.71.206.192 - 177.71.206.255
de1 Germany 52.59.186.0 - 52.59.186.31
18.195.48.224 - 18.195.48.255
ie1 Ireland 52.215.253.0 - 52.215.253.63
54.171.127.192 - 54.171.127.255
52.215.127.0 - 52.215.127.255
in1 India 52.66.193.96 - 52.66.193.127
52.66.194.0 - 52.66.194.63
jp1 Japan 13.115.244.0 - 13.115.244.31
54.65.63.192 - 54.65.63.255
sg1 Singapore 13.229.255.0 - 13.229.255.31
54.169.127.128 - 54.169.127.191
us1 US East Coast (Virginia) 34.203.254.0 - 34.203.254.255
54.172.60.0 - 54.172.61.255
34.203.250.0 - 34.203.251.255
us2 US West Coast (Oregon) 34.216.110.128 - 34.216.110.159
54.244.51.0 - 54.244.51.255

Ports used: 10,000 - 60,000 UDP/SRTP/SRTCP

Additional Connectivity Requirements

Clients should be able to connect to the services at the following hostnames:

  • sdkgw.us1.twilio.com (WSS/443)
  • ecs.us1.twilio.com (HTTPS/443)
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.