# EOS\_BROKER\_URL :: why localhost?

**URL:** <https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446>\
**Category:** Uncategorized\
**Created:** [April 18, 2020, 7:30am UTC](https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446 "2020-04-18T07:30:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asevcenc](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/asevcenc/32/64_2.png) [@asevcenc](https://eos-community.web.cern.ch/u/asevcenc)\
**Post date:** [April 18, 2020, 7:30am UTC](https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446/1 "2020-04-18T07:30:22Z")

</div>

Hi! I see that for the eos\_env setup it is recommended to use localhost for EOS\_BROKER\_URL…  
Why? wouldn’t the fqdn work as well?

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [April 21, 2020, 10:01am UTC](https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446/2 "2020-04-21T10:01:23Z")

</div>

Hi Adrian,

In the default EOS setup the MGM and MQ (broker) are colocated therefore you have the `localhost` entry, of course you can use the fqdn.

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![asevcenc](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/asevcenc/32/64_2.png) [@asevcenc](https://eos-community.web.cern.ch/u/asevcenc)\
**Post date:** [April 21, 2020, 2:14pm UTC](https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446/3 "2020-04-21T14:14:04Z")

</div>

Hi @esindril ! So, not matter the node in the cluster (even in case of colocation of MGM and MQ), the fqdn can be used safely?  
Thank you!  
Adrian

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [June 19, 2020, 2:43pm UTC](https://eos-community.web.cern.ch/t/eos-broker-url-why-localhost/446/4 "2020-06-19T14:43:43Z")

</div>

Yes.
