Google Drive firewall and proxy settings

This article is intended for network administrators.

In order for users on your network to access Google Drive on the web, Google Drive for Mac/PC, and Google Docs editors, your firewall rules should connect to the following hosts and ports. Otherwise, users may be blocked or denied access from these services.

For the following hosts, [N] means any single decimal digit and * means any string not containing a period.

  • www.google.com:443/HTTPS
  • accounts.google.com:443/HTTPS
  • googledrive.com:443/HTTPS
  • drive.google.com:443/HTTPS
  • *.drive.google.com:443/HTTPS
  • docs.google.com:443/HTTPS
  • *.docs.google.com:443/HTTPS
  • *.c.docs.google.com:443/HTTPS
  • sheets.google.com:443/HTTPS
  • slides.google.com:443/HTTPS
  • talk.google.com:5222/XMPP (needed only for Google Drive for Mac/PC)
  • gg.google.com:443/HTTPS
  • script.google.com:443/HTTPS
  • ssl.google-analytics.com:443/HTTPS
  • video.google.com:443/HTTPS
  • s.ytimg.com:443/HTTPS
  • apis.google.com:443/HTTPS
  • *.googleapis.com:443/HTTPS
  • *.googleusercontent.com:443/HTTPS
  • *.gstatic.com:443/HTTPS
  • lh[N].google.com:443/HTTPS
  • [N].client-channel.google.com:443/HTTPS
  • clients[N].google.com:443/HTTPS

Important notes

  • The IP addresses that various domain names resolve to don't necessarily fall within any given address range.
  • Other Google properties may use the IP addresses that Google Drive uses.
  • Techniques that Google Drive uses to connect to Google servers depend on the browser, browser version, networking conditions, etc.
  • Even if you don't currently observe activity at the addresses listed above in a particular Google product there could be future activity.
  • Google Drive for Mac/PC supports all unauthenticated proxies that are configured by the operating system.
  • Google Drive for Mac/PC supports only DNS-based distribution of PAC files. PAC distribution over DHCP is not supported.

See also: Google Sites firewall settings

Matt is a Docs & Drive expert and author of this help page. Leave him feedback below about the page.

Was this article helpful?
Yes
No