-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can web ui be accessable from other nodes? #1148
Comments
By default consul is unauthenticated and so only binds to localhost. If you [1] https://www.consul.io/docs/agent/options.html#addresses On Mon, 3 Aug 2015 at 09:21 yeasy [email protected] wrote:
|
Great answer, James. Thanks! |
How can we let consul bind to validated local ip address automatically without telling the exact value. 0.0.0.0 seems not work. |
I am using the following without issue: After you start consul what is the output of On Tue, 4 Aug 2015 at 09:11 yeasy [email protected] wrote:
|
Great, how can i add this parameter as cli options? |
For the cli I think you want the |
Ok, i will try. I want the consul-ui be accessed from outside, by automatically detecting the public IP on the host. |
I would be careful with doing it on a public ip, if you do not have acls enabled then you are exposing the whole api to the public unauthenticated. I would either enable acls on the cluster, or setup a proxy to do the authentication and only expose the proxy to the public. |
Yes, i am using a proxy. |
Seems I can only access the web ui on the node with the web ui.
When access from other nodes, the connection is refused.
The text was updated successfully, but these errors were encountered: