Allowlist Harness Platform IPs and CIDR
Harness SaaS Delegates only need outbound access to the Harness domain name (most commonly, app.harness.io) and, optionally, to logging.googleapis.com.
Harness supports allowlisting of its SaaS infrastructure IPs to enable secure access to private networks. This is helpful when you want to connect Harness to internal systems such as Kubernetes clusters, artifact repositories, SCMs, or other internal services.
We recommend contacting Harness Support to receive the correct list of IPs and guidance based on your use case, region, and Harness modules in use.
Outbound Access Requirements
Harness Delegates typically only require outbound access to the following domains:
app.harness.iois the Primary Harness platform endpoint. You may need to include one additional endpoint depending on the cluster for your account. You can verify this by going to your Account Settings -> Account Details, in the Harness Cluster field.ClusterURL FormatProd1
app.harness.ioProd2
app.harness.ioProd3
app3.harness.ioProd0/Prod4
accounts.harness.ioEU clusters
accounts.eu.harness.iologging.googleapis.com– (Optional) Used to send logs to Harness Support. This can be disabled using theSTACK_DRIVER_LOGGING_ENABLEDenvironment variable. Learn more.
Allowlisting Harness IPs
To connect securely from Harness to your internal infrastructure — such as for:
Pipeline execution using Harness Cloud
Deployments via GitOps agents
Feature Flags / Feature Management & Experimentation . Customers may also want to consider setting up a Feature Flag Proxy.
Hosted builds (Linux/macOS)
Internal APIs or SCM access
You may need to allowlist specific IP ranges based on the Harness services you're using.
Sign up for access to the Harness Security Trust Center
Customers can access the IP allowlist by signing up to an account on our trust.harness.io website.
Click on
Get Accessin the upper right corner to set up a sign in
Enter your email address and click
continue. Agree to the NDA.An email will be sent to your email address with sign-in instructions
Locating the IP Allowlist
The IP allowlist is located in the Product Security section of the Trust Center. Harness provides region- and service-specific IPs for allowlisting. These are not publicly listed to avoid misuse.
Click on the
Product SecuritysectionSearch for the
Harness IPsdocument
Retrieve Allowlisted IPs for Harness Cloud via API
Use this API to retrieve the list of IP addresses and CIDR ranges you can allowlist for outbound connections made by tasks executed in Harness Cloud. For example, when your pipelines run build or test steps on Harness Cloud infrastructure, outbound connections (such as to artifact registries or external services) originate from these IPs.
Prerequisites
A Harness API key with permissions to call Harness Cloud APIs.
Your Harness account identifier.
Endpoint
Method: GET
Path: /gateway/ci/ips/allowlist
Query Params:
accountIdentifier(string): your Harness account ID
Header:
X-API-KEY: <YOUR_API_KEY>
cURL example showing Harness CI
Sample response for Harness CI
Response schema
status
string
Overall request status.
data.ipAddresses
string[]
IPs or CIDRs to allowlist for Harness Cloud egress.
metaData
object
null
correlationId
string
ID for support and troubleshooting.
Common uses
Add these IPs to firewalls or security groups that protect:
Git hosts and SCM webhooks
Artifact registries
Internal package repositories
Other services your builds must reach
Troubleshooting
401 or 403: Verify the API key is valid and has access to Harness Cloud APIs. Confirm header name is
X-API-KEY.Empty
ipAddresses: This is expected for Free tier accounts.Self-managed runners: If you run builds via your own delegates or runners, allowlist the egress IPs of your infrastructure instead. The API above returns IPs only for Harness Cloud.
Keeping Updated on changes to the IP Documentation
Harness provides a method to subscribe to all updates in the Harness Trust Center.
Click on the Notification Bell on the right side of the website
Subscribe to updates for the Harness Security Trust Center by adding your email and clicking
Subscribe
Configure clusters
To ensure proper functionality, configure your clusters with API access to the authorized Harness IP addresses.
If you have not yet configured your clusters with the required IP addresses, use the links provided below to complete the configuration for the listed clusters.
Last updated
Was this helpful?