Repositories behind a firewall

Accessing private repositories

If your repositories are within an internal network / behind a firewall, which is usually the case with enterprises, the network configuration of these repositories must be configured for external access.

Codemagic requires direct access to the repositories for the following use cases:

  • For retrieving the repository information such as the branches and the commits.
  • For cloning the repository to the build machine during the build.

The following IP addresses must be allowed through the firewall (whitelisted):


    Fetching IP addresses...
  

Since Codemagic needs to access the Git service, please allow ports that your service uses - usually the default SSH or HTTPS ports.