# Can I specify haproxy's ip when haproxy communicate with real server

**URL:** <https://discourse.haproxy.org/t/can-i-specify-haproxys-ip-when-haproxy-communicate-with-real-server/3266>\
**Category:** Help!\
**Created:** [November 27, 2018, 1:43am UTC](https://discourse.haproxy.org/t/can-i-specify-haproxys-ip-when-haproxy-communicate-with-real-server/3266 "2018-11-27T01:43:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lihuawei](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@lihuawei](https://discourse.haproxy.org/u/lihuawei)\
**Post date:** [November 27, 2018, 1:43am UTC](https://discourse.haproxy.org/t/can-i-specify-haproxys-ip-when-haproxy-communicate-with-real-server/3266/1 "2018-11-27T01:43:21Z")

</div>

There are many ip addresses in my linux, when haproxy communicate with real server, how to specify haproxy’s ip address?  
Thanks  
Li

---

<div class="post-metadata">

**Author:** ![lihuawei](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@lihuawei](https://discourse.haproxy.org/u/lihuawei)\
**Post date:** [November 27, 2018, 6:12am UTC](https://discourse.haproxy.org/t/can-i-specify-haproxys-ip-when-haproxy-communicate-with-real-server/3266/2 "2018-11-27T06:12:23Z")

</div>

it’s resovled, just config the source attribute.
