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
Vishal Gaddi6Vishal Gaddi6 

Hitting Local/Private server uaing IP Address with HTTP request

Hi Everyone

 

Can we hit a local/private server using IP address with HTTP request in Salesforce ?? or the server should always be public....

 

 

Thanx in advance

Vishal.

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

You can't access a private IP (e.g. 192.168.x.x, 10.x.x.x, 172.16-31.x.x) using the HTTP methods that salesforce.com provides. You'll have to use a proxy or set up the server as a public server. Either way, the IP you use must be accessible from the general Internet.

All Answers

NiketNiket

Hi Vishal,

 

If I am getting you properly, you need to access private/local  server from salesforce. If this is your case then you need to whitelist salesforce IP addresses in your proxy.

 

If this is not your case, please elaborate your scenario..

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

sfdcfoxsfdcfox

You can't access a private IP (e.g. 192.168.x.x, 10.x.x.x, 172.16-31.x.x) using the HTTP methods that salesforce.com provides. You'll have to use a proxy or set up the server as a public server. Either way, the IP you use must be accessible from the general Internet.

This was selected as the best answer
sony sonusony sonu
hi nishal, did your problem get solved
sony sonusony sonu
hi niket...are you availble ????? to share my senario