当前位置: 代码迷 >> 综合 >> INFO: Attempting to connect to: http://192.168.xx.xx:8080/v1 ERROR: http://192.168.xx.xx:8080/v1 is
  详细解决方案

INFO: Attempting to connect to: http://192.168.xx.xx:8080/v1 ERROR: http://192.168.xx.xx:8080/v1 is

热度:28   发布时间:2023-11-21 19:29:17.0

错误提示如下:INFO: Attempting to connect to: http://192.168.xx.xx:8080/v1 ERROR:http://192.168.xx.xx:8080/v1 is not accessible (Failed to connect to 192.168.xx.xx port 8080: No route to host)

这个问题主要有以下几种情况:

  • RANCHER SERVER服务器防火墙没有开通8080端口;
  • 云平台安全组没有放行8080端口;
  • Agent 服务器没有开启IP转发规则 [为什么我的容器无法连接到网络?]:{site.baseurl}}/rancher/faqs/troubleshooting/1为什么我的容器无法连接到网络;

=1为开启,=0为关闭

/etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
  相关解决方案