# Can i change my target ip and port dynamically when my proxy server have changed for ip and port?

**URL:** https://discuss.elastic.co/t/can-i-change-my-target-ip-and-port-dynamically-when-my-proxy-server-have-changed-for-ip-and-port/127758
**Category:** Beats
**Created:** [April 12, 2018, 8:06am UTC](https://discuss.elastic.co/t/can-i-change-my-target-ip-and-port-dynamically-when-my-proxy-server-have-changed-for-ip-and-port/127758 "2018-04-12T08:06:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![qianying1](https://avatars.discourse-cdn.com/v4/letter/q/8dc957/32.png) [@qianying1](https://discuss.elastic.co/u/qianying1)
#### Post date: [April 12, 2018, 8:06am UTC](https://discuss.elastic.co/t/can-i-change-my-target-ip-and-port-dynamically-when-my-proxy-server-have-changed-for-ip-and-port/127758/1 "2018-04-12T08:06:58Z")

</div>

Help me to solve this problem please , every guru.

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [April 13, 2018, 2:04pm UTC](https://discuss.elastic.co/t/can-i-change-my-target-ip-and-port-dynamically-when-my-proxy-server-have-changed-for-ip-and-port/127758/2 "2018-04-13T14:04:33Z")

</div>

Could you please provide more specifics? Your question is not clear.

If you are talking about the output configuration in Beats, like the `output.logstash.hosts` value, you need to restart the Beat after making changes to this value in your configuration file.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 11, 2018, 4:04pm UTC](https://discuss.elastic.co/t/can-i-change-my-target-ip-and-port-dynamically-when-my-proxy-server-have-changed-for-ip-and-port/127758/3 "2018-05-11T16:04:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
