简体   繁体   中英

How to get client ip address aws elb?

I am using aws elb for load balancing. I need client ip address. But it gives us elb ip address. So i went to aws documentation and they told to enable Enabling Proxy Protocol. After enabling also, i am getting elb address only.

You might want to read about X-Forwarded-For HTTP header:

http://en.wikipedia.org/wiki/X-Forwarded-For

Elastic Load Balancer supports it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM