+ Start a Discussion

Salesforce Server Ip address using Apex


I am trying to get the Salesforce Server IP Address in apex controller. I am unable to find the solution on how to do this. Can any one of you help me?
There's nothing in Apex to expose this information as far as I'm aware.  The only IP address you can get at is where the request came from.