What is the difference between X-Forwarded-For and X-Forwarded-IP?

前端 未结 2 790
猫巷女王i
猫巷女王i 2020-12-23 11:24

To obtain the client IP address in my ASP.NET application I\'ve used the X-Forwarded-For, and get the first IP address from the list (accordingly to the information I\'ve fo

2条回答
  •  臣服心动
    2020-12-23 12:22

    X-Forwarded-For is the conventional way of identifying the originating IP address of the user connecting to the web server coming from either a HTTP proxy, load balancer.

    X-Forwarded-IP is the conventional way of identifying the originating IP address of the user connecting to the email server through an HTTP mail service.

提交回复
热议问题