Contact Us 1-800-596-4880

Using a Proxy in Anypoint Code Builder

logo desktop IDE Desktop IDE

Open Beta Release: The cloud IDE is in open beta. Any use of Anypoint Code Builder in its beta state is subject to the applicable beta services terms and conditions, available from the IDE.

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).

Proxy settings doesn’t work on the cloud IDE

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

      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 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:

MuleSoft URL

Anypoint Platform services: CloudHub, Exchange, Core Services

  • https://(*).anypoint.mulesoft.com (/*)

  • https://repository.mulesoft.org/(*)

  • https://(*).cloudhub.io/(*/)

Assets downloaded from Exchange

  • https://exchange2-asset-manager-kprod.s3.amazonaws.com (/*)

  • https://exchange2-asset-manager-kprod-eu.s3.eu-central-1.amazonaws.com (/*)

Resources for API Portals

  • https://exchange2-file-upload-service-kprod.s3.amazonaws.com (/*)

Third Party URL

Eclipse libraries and Eclipse update sites

  • https://download.eclipse.org/eclipse/updates (/*)

MuleSoft Maven repositories and connectors update site

  • https://repo.maven.apache.org/maven2 (/*)

  • https://repo1.maven.org/maven2 (/*)

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.