# Standalone Consul Instance

**URL:** <https://discuss.hashicorp.com/t/standalone-consul-instance/18974>\
**Category:** Consul\
**Created:** [December 16, 2020, 5:30pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974 "2020-12-16T17:30:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![XenoPhage](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/xenophage/32/15586_2.png) [@XenoPhage](https://discuss.hashicorp.com/u/XenoPhage)\
**Post date:** [December 16, 2020, 5:30pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/1 "2020-12-16T17:30:19Z")

</div>

Greetings,

I’m trying to set up a single-server nomad/consul/vault. I understand it’s not HA, the purpose here is to learn more about how all of this works in a simplified environment.

I’ve been able to get nomad and consul up and running, but I’m having a problem with consul only binding to localhost. Basically, I’m looking to have traefik use the data in consul to dynamically set up proxies for other containers, but traefik can’t reach consul.

nomad and consul are both running on the host. Everything else is in containers. In order to get traefik to connect to consul, consul needs to listen on a specific ip address. I’ve tried setting both the bind and advertise ips, but it doesn’t seem to make a difference.

Any assistance is welcome.

Consul config looks like this :

data\_dir = “/opt/consul”

datacenter = “dc1”

bind\_addr = “192.168.1.98”

log\_level = “INFO”

node\_name = “dc1”

server = true  
bootstrap\_expect = 1

advertise\_addr = “192.168.1.98”

---

<div class="post-metadata">

**Author:** ![Wolfsrudel](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/wolfsrudel/32/28465_2.png) [@Wolfsrudel](https://discuss.hashicorp.com/u/Wolfsrudel)\
**Post date:** [December 16, 2020, 6:57pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/2 "2020-12-16T18:57:07Z")

</div>

Did you try to setting the `client_addr`? I always hate all this address clutter. 😁

---

<div class="post-metadata">

**Author:** ![XenoPhage](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/xenophage/32/15586_2.png) [@XenoPhage](https://discuss.hashicorp.com/u/XenoPhage)\
**Post date:** [December 16, 2020, 8:37pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/3 "2020-12-16T20:37:43Z")

</div>

I feel so dumb. Thank you.

---

<div class="post-metadata">

**Author:** ![Wolfsrudel](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/wolfsrudel/32/28465_2.png) [@Wolfsrudel](https://discuss.hashicorp.com/u/Wolfsrudel)\
**Post date:** [December 16, 2020, 8:40pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/4 "2020-12-16T20:40:41Z")

</div>

Oh, nonsense. It’s a learning curve that we all had to go through. 😉 Glad, that i could help.

---

<div class="post-metadata">

**Author:** ![XenoPhage](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/xenophage/32/15586_2.png) [@XenoPhage](https://discuss.hashicorp.com/u/XenoPhage)\
**Post date:** [December 16, 2020, 9:37pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/5 "2020-12-16T21:37:27Z")

</div>

Appreciate it. Trying to learn something new while being pulled in so many directions does not make for an optimal learning experience…

---

<div class="post-metadata">

**Author:** ![Wolfsrudel](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/wolfsrudel/32/28465_2.png) [@Wolfsrudel](https://discuss.hashicorp.com/u/Wolfsrudel)\
**Post date:** [December 16, 2020, 9:50pm UTC](https://discuss.hashicorp.com/t/standalone-consul-instance/18974/6 "2020-12-16T21:50:16Z")

</div>

As always, I can recommend the learn platform ([learn.hashicorp.com](http://learn.hashicorp.com)) here as well. If not known yet. 😉
