function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srikanth123srikanth123 

Question on Apex Callout

I'm trying to invoke a webservice from my vf page on button click (wsdl2apex). Now my question is whether the request going to the ENDPOINT URL will be my machine's IP address or salesforce instance's IP address?

Best Answer chosen by Admin (Salesforce Developers) 
Ritesh AswaneyRitesh Aswaney

The Salesforce instance's IP address. If you need ip address to be white-listed, you should be able to get the East & West Coast Salesforce Datacentres from your support rep.

 

Or actually I've found the address ranges on another board post

http://boards.developerforce.com/t5/Apex-Code-Development/What-is-Salesforce-IP-address-range/td-p/69917

 

204.14.232.0/25 East Coast Data Center (set one) 
204.14.233.0/25 East Coast Data Center (set two) 
204.14.234.0/25 West Coast Data Center (set one) 
204.14.235.0/25 West Coast Data Center (set two)

All Answers

Sonali BhardwajSonali Bhardwaj

So your question is, your webservice request would be sent from Salesforce IP or your machine IP. Answer is Salesforce IP.

Ritesh AswaneyRitesh Aswaney

The Salesforce instance's IP address. If you need ip address to be white-listed, you should be able to get the East & West Coast Salesforce Datacentres from your support rep.

 

Or actually I've found the address ranges on another board post

http://boards.developerforce.com/t5/Apex-Code-Development/What-is-Salesforce-IP-address-range/td-p/69917

 

204.14.232.0/25 East Coast Data Center (set one) 
204.14.233.0/25 East Coast Data Center (set two) 
204.14.234.0/25 West Coast Data Center (set one) 
204.14.235.0/25 West Coast Data Center (set two)

This was selected as the best answer