title: What is the ip address that gets sent when a client makes a request to a website that goes through an ISP
body: <p>Lets assume that I am one of the software engineers that are working on a website and I am writing this piece of code that does something with the client's ip address.</p>
  
  <p>The http request from the client, goes through the forward proxy of the ISP or the mobile service provider and then through the CDN which forward them into the application servers located within my datacenter.</p>
  
  <p>When I am making a call in my code which runs on the application server tier, something like "request.getRemoteAddr()" in Java.</p>
  
  <p>Note that I am not asking this from a Java API perspective. I am just curious what is the ip address that comes on the HTTP Payload. Is it always the ip address of the client (the desktop or the mobile phone) or something inbetween ?</p>