HTTP - Request IP Address

1 - About

The users / original IP address of a request is stored in the following headers

With this IP, you can perform geolocalization of your users

3 - X-Forwarded-For

An HTTP reverse proxy uses non-standard headers to inform the upstream server about the user’s IP address and other request properties:


X-Forwarded-For: ipClient, ipProxy1, ipProxy2
X-Real-IP: 12.34.56.78
X-Forwarded-Host: example.com
X-Forwarded-Proto: https

where:

  • The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.
  • x-forwarded-host

4 - Documentation


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap