Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The T4S Server runs on a virtual machine within your DMZ and is configured to only communicate with the various Ahpra Salesforce Orgs running and Sandbox’s you wish to connect to in the cloud.

This allows the Content Manager Server to remain protected within your LAN.

...

Salesforce Access to T4S Server

Salesforce list a large number of IP address ranges that they recommend you add to your firewall rules.

One way to determine the Salesforce IP address of the Salesforce Org that T4S will be installed in, is to follow this procedure in each Org.

  1. Within Salesforce Setup search for “Remote Site Settings“

  2. Add a new Remote Site.

    1. Remote Site Name “icanhazip“ or “IP_Address_Check“ etc.

    2. Remote Site URL “https://icanhazip.com

    3. Save

  3. Open Developer Console → Debug → “Open Execute Anonymous Window”

  4. Enter this code snippet into the window

    Code Block
    languagejs
         HttpRequest req = new HttpRequest();
     
         req.setEndpoint('https://icanhazip.com/');
     
         req.setMethod('GET');
     
         Http httpReq = new Http();
     
         HttpResponse res = httpReq.send(req);
     
         System.debug('------Org IP Address: ' + res.getBody());
    
  5. Check the “Open Log“ check box

  6. Execute the code

  7. The Execution Log will open, and search for the log entry “------Org IP Address:“ to find the Org IP Address

If you want to force an IPv4 lookup, use ipv4.icanhazip.com. For IPv6, use ipv6.icanhazip.com

Salesforce is currently migrating its servers to their Hyperforce cloud infrastructure.
There may be some Salesforce Sandbox Orgs on non-Hyperforce servers, while others are moved to the Hyperforce servers.

...