You need to sign in to do that
Don't have an account?

Salesforce API call and Server Firewall Issue
Hello everyone. We've recently moved to more locked down server env.
While testing out our website move to the new server env. we've found that webservice API call to salesforce consistently fails.
We had to ask our server host add firewall rules to allow connection to Salesforce.
We decided to use FQDN and added www.salesforce.com (443).
This initially worked for us.
However, on the day of golive (today) during testing, connections were starting to fail. After studying the WSDL generated from Salesforce, we decided to open na6-api.salesforce.com(443). This failed again because response was coming back from ns0-api.salesforce.com.
Are there set URLs that we need to have on our firewall rules? It seems like due to load balancing, these URLs change?
I desperately need assistance on this.
thank you.
Not sure if there is a set of URLs documented somewhere. Some Firewalls do provide the functionality to configure Regular Expressions to allow/block certain URLs. Have you evaluated the option of writing a RegEx to achieve the same purpose?
Below is an example regular expression to validate the API login server URLs:
https://[^/?]+\\.(sales|visual\\.)force\\.com/services/(S|s)(O|o)(A|a)(P|p)/(u|c)/.*
-Yogesh Badwe