# Getting correct address from client when server is behind a load balancer

**URL:** <https://forum.inductiveautomation.com/t/getting-correct-address-from-client-when-server-is-behind-a-load-balancer/111128>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 1, 2025, 1:02pm UTC](https://forum.inductiveautomation.com/t/getting-correct-address-from-client-when-server-is-behind-a-load-balancer/111128 "2025-10-01T13:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbackus](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tbackus/32/5091_2.png) [@tbackus](https://forum.inductiveautomation.com/u/tbackus)\
**Post date:** [October 1, 2025, 1:02pm UTC](https://forum.inductiveautomation.com/t/getting-correct-address-from-client-when-server-is-behind-a-load-balancer/111128/1 "2025-10-01T13:02:50Z")

</div>

We have several Perspective servers setup behind an F5 Load Balancer. It’s working great, but one side affect I didn’t anticipate was the fact that in the Perspective Session status page all the Addresses of the clients show as the IP address of said load balalncer. I tried turning on Use Proxy Forward Headers, even though I was sure it wouldn’t help, and it didn’t. Wondering if anyone using load balancer has experienced this and if there is some setting were missing.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 1, 2025, 1:06pm UTC](https://forum.inductiveautomation.com/t/getting-correct-address-from-client-when-server-is-behind-a-load-balancer/111128/2 "2025-10-01T13:06:49Z")

</div>

Enabling this setting in Ignition has to be paired with configuring your proxy server / load balancer to include the "X-Forwarded-For" header as well.

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [November 23, 2025, 8:50pm UTC](https://forum.inductiveautomation.com/t/getting-correct-address-from-client-when-server-is-behind-a-load-balancer/111128/3 "2025-11-23T20:50:30Z")

</div>

I tried enabling this option as well and it didn’t work. I made sure I have `header_up X-Forwarded-For {remote}` set on Caddy, but still the site returns error 400. I am on 8.1.45.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/80b16eed79b9ac6a13e06080e98bb733c28e36f4.png)

Error log showed this,  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/optimized/3X/c/9/c934c6fb51244f8c551b66911a7ffaf257f01839_2_690x21.png)  
so I removed the `header_up X-Forwarded-Port {server_port}` line and the site comes back online with the “Use Proxy Forward Headers” enabled…however, I still don’t get the client’s IP address.
