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


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 - -
443 WSS
iOS SDK - 1.1.0 to 2.x - -
443 TLS
Android SDK - 1.1.0 to 4.x - -
443 TLS
iOS/Android SDKs - prior to 1.1.0 - -
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 - -
br1 Brazil - -
de1 Germany - -
ie1 Ireland - - -
in1 India - -
jp1 Japan - -
sg1 Singapore - -
us1 US East Coast (Virginia) - - -
us2 US West Coast (Oregon) - -

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.