swarm use consul issue


安裝好了consul
透過指令 : docker run -d swarm join --advertise=10.201.18.101:2375 consul://localhost/swarm

結果報錯 :
time="2016-01-20T08:11:37Z" level=info msg="Registering on the discovery service every 1m0s..." addr="10.201.18.101:2375" discovery="consul://localhost/swarm"
time="2016-01-20T08:11:37Z" level=error msg="Get http://localhost/v1/kv/swarm/d ... 2375: dial tcp :80: getsockopt: connection refused"

有人知道錯在那嗎?
已邀请:

要回复问题请先登录注册