---
schema_version: "1"
id: a16dcd2c4339201f126e44877d971e2734a0b35ba91762d1279e75e649fe6a54
title: Using a Proxy in Anypoint Code Builder
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-code-builder/ref-proxy-settings.md
canonical_url: https://docs.mulesoft.com/anypoint-code-builder/ref-proxy-settings
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 88e3017486fd340b174ffbc0c4b1720940e0e92c6689f73494e92b913b1d253c
description: MuleSoft Documentation Site
latest: true
---
---
product: Anypoint Code Builder
version: master
---

# Using a Proxy in Anypoint Code Builder

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Execute network-dependent functions in Anypoint Code Builder, such as publishing to Exchange,
logging into Anypoint Platform, and running or debugging applications, by configuring your proxy
settings in Visual Studio Code (VS Code).

## Before You Begin Configuring Your Proxy

Take into account these considerations before configuring your proxy setting in VS Code:

- When setting a proxy URL, the `protocol` can be `HTTP` or `SOCKS`. For example:

  - PROTOCOL://username:password@host:port

  - PROTOCOL://host:port

    > [!NOTE] Anypoint Code Builder supports `SOCKS` proxies without authentication but doesn’t
    > support `SOCKS` proxies with basic authentication.

- Anypoint Code Builder ignores these fields and reads settings from the proxy URL and the no-proxy
  list:

  - Proxy Authorization

  - Proxy Kerberos Service Principal

  - Proxy Strict SSL

- To exclude certain hosts from the proxy, use the **Proxy bypass** settings.

## Configure Your Proxy Settings in VS Code

To configure your proxy settings for Anypoint Code Builder:

1.  Open VS Code.

2.  Open VS Code settings:

    1.  In Windows, go to **File > Preferences > Settings**.

    2.  In macOS, go to **Code > Settings > Settings**.

3.  Search for "proxy" in the settings search bar.

4.  Configure your proxy URL and no-proxy settings.

5.  Configure your proxy settings in your Maven `settings.xml` file. See
    [Configure a Proxy in Maven](https://maven.apache.org/guides/mini/guide-proxies.html) for
    configuration instructions.

6.  Set the 'Proxy Support' setting to 'override' or 'on'.

7.  Restart VS Code to apply your changes.

## Add Anypoint Platform URLs to an Allowlist

If your organization uses an allowlist, add these Anypoint Code Builder and Anypoint Platform URLs:

<table><colgroup><col> <col></colgroup><thead><tr><th>MuleSoft</th><th>URL</th></tr></thead><tbody><tr><td><div><div><p>Anypoint Platform services: CloudHub, Exchange, Core Services</p></div></div></td><td><div><div><ul><li><p>https://(*).anypoint.mulesoft.com (/*)</p></li><li><p>https://repository.mulesoft.org/(*)</p></li><li><p>https://(*).cloudhub.io/(*/)</p></li></ul></div></div></td></tr><tr><td><div><div><p>Assets downloaded from Exchange</p></div></div></td><td><div><div><ul><li><p>https://exchange2-asset-manager-kprod.s3.amazonaws.com (/*)</p></li><li><p>https://exchange2-asset-manager-kprod-eu.s3.eu-central-1.amazonaws.com (/*)</p></li></ul></div></div></td></tr><tr><td><div><div><p>Resources for API Portals</p></div></div></td><td><div><div><ul><li><p>https://exchange2-file-upload-service-kprod.s3.amazonaws.com (/*)</p></li></ul></div></div></td></tr></tbody></table>

<table><colgroup><col> <col></colgroup><thead><tr><th>Third Party</th><th>URL</th></tr></thead><tbody><tr><td><div><div><p>Eclipse libraries and Eclipse update sites</p></div></div></td><td><div><div><ul><li><p>https://download.eclipse.org/eclipse/updates (/*)</p></li></ul></div></div></td></tr><tr><td><div><div><p>MuleSoft Maven repositories and connectors update site</p></div></div></td><td><div><div><ul><li><p>https://repo.maven.apache.org/maven2 (/*)</p></li><li><p>https://repo1.maven.org/maven2 (/*)</p></li></ul></div></div></td></tr></tbody></table>

> [!NOTE] For services that use the web browser, such as the **Login** or **Exchange** operations,
> refer to the browser documentation to learn about the browser network requirements. If you use an
> external identity provider (IdP), you must also grant permission to other third-party domains.
