Loading
Set Up and Maintain Your Salesforce Organization
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure Remote Site Settings

          Configure Remote Site Settings

          Configure settings for a remote site.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience

          Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

          Visualforce and S-controls aren’t available in Database.com

          User Permissions Needed
          To configure remote settings: Customize Application or Modify All Data

          Before any Visualforce page, Apex callout, or JavaScript code using XmlHttpRequest in an s-control or custom button can call an external site, that site must be registered in the Remote Site Settings page, or the call fails.

          To access the page, from Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings. This page displays a list of any remote sites already registered and provides additional information about each site, including remote site name and URL.

          For security reasons, Salesforce restricts the outbound ports you can specify to one of the following:

          • 80: This port only accepts HTTP connections.
          • 443: This port only accepts HTTPS connections.
          • 1024–65535 (inclusive): These ports accept HTTP or HTTPS connections.

          To register a new site:

          1. Click New Remote Site.
          2. Enter a descriptive term for the Remote Site Name.
          3. Enter the URL for the remote site.
          4. To allow access to the remote site regardless of whether the user’s connection is over HTTP or HTTPS, select the Disable Protocol Security checkbox. When selected, Salesforce can pass data from an HTTPS session to an HTTP session, and vice versa. Only select this checkbox if you understand the security implications.
          5. Optionally, enter a description of the site.
          6. Click Save to finish, or click Save & New to save your work and begin registering an additional site.
          Tip
          Tip For best performance, verify that your remote HTTPS encrypted sites have OCSP (Online Certificate Status Protocol) stapling turned on.
           
          Loading
          Salesforce Help | Article