2017年5月4日 星期四

Rancher requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /v1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))

教學文章
https://blog.hellosanta.com.tw/%E7%B6%B2%E7%AB%99%E8%A8%AD%E8%A8%88/%E4%BC%BA%E6%9C%8D%E5%99%A8/%E8%A6%96%E8%A6%BA%E5%8C%96%E7%AE%A1%E7%90%86%E7%9C%BE%E5%A4%9A-docker-%E5%AE%B9%E5%99%A8%E8%88%87%E9%83%A8%E7%BD%B2%E7%9A%84%E5%A5%BD%E5%B7%A5%E5%85%B7%EF%BC%9Arancher

http://columns.chicken-house.net/2016/04/29/rancher-on-azure-lab/

Ubuntu16.04

I try to addhost in Rancher,but get this error

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /v1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f5b3588b810>: Failed to establish a new connection: [Errno 111] Connection refused',))


because the 

Host Registration URL

I use the http://localhost:8080 orginally
and the Rancher got find the top IP 192.168.1.109:8080
after that I modify the IP 192.168.1.109:8080

 just leave the 4th column blank is fine.
copy and paste to the terminal

official github
https://github.com/rancher/rancher/issues/1151



沒有留言:

張貼留言