Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

ConnectMaster

How to

Access Google Maps API through Firewall

Version: 1.0
State: 18.01.2017
Description
Access Google Maps API through firewall

History
Version Date Author Comment
1.0 17.01.2016 R. Kaufmann Version 1

© 2013 Dynamic Design GmbH


Description
Access Google Maps API through firewall

Index
1 Access Google Maps API through Firewall...................................................................................... 1
1.1 Issue Description ..................................................................................................................... 1
1.2 Solution ................................................................................................................................... 1

© 2013 Dynamic Design GmbH


Description
Access Google Maps API through firewall

1 Access Google Maps API through Firewall


1.1 Issue Description

Issue Definition: Customer is experiencing issues connecting with Google Maps API service, in particular not
being able to download the Google Maps tiles through a corporate firewall.

1.2 Solution

Scope Agreement: The reason behind the behavior is that some servers, like the ones responsible for the tiles,
use dynamic IP addresses.

The IPs for the tile servers might change more frequently because they are behind a geographically distributed
CDN that can change depending on demand and availability. You can access the individual caches directly with
their IPs, but this is not encouraged, as that then bypasses load balancing and high availability mechanisms.

As a recommendation, it is important to configure a DNS-based firewall/proxy to get access to the domain


*google.com. You need to add into your firewall/proxy the following domain names (tile servers) that use
dynamic IP addresses.

Google Maps APIs services use port 80 (http) and 443 (https) for inbound and outbound traffic.

Google Maps APIs services use a variety of domains, some of which do not belong to the *google.com domain.
If you are behind a restrictive firewall, it is important to allow access to the domains used by each Maps API
service.

Over HTTP:

- maps.google.com (legacy)
- maps.googleapis.com (recommended)

Over HTTPS:

- maps-api-ssl.google.com (legacy)
- maps.googleapis.com (recommended)

1
© 2013 Dynamic Design 18.01.2017

You might also like