單機安裝 consul ui 對外提供服務

Consul 安裝啓動ui,外網沒法訪問,應爲Consul 默認綁定127.0.0.1 ,因此外網沒法訪問。node

 

經過設置 -client 參數來設置bootstrap

    consul agent -server -bootstrap-expect=1 -data-dir=/tmp/consul -node=consul -bind=xxx.xxx.xxx.xxx -ui -client=0.0.0.0ui

 

相關文章
相關標籤/搜索