问题解决:dial tcp 172.217.160.81:443: connect: connection refused

2022-05-23 09:26:52 浏览数 (2)

代码语言:javascript复制
[root@k8s-master wlf]# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 192.168.190.2
[root@k8s-master wlf]# vi /etc/resolv.conf
[root@k8s-master wlf]# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
# nameserver 192.168.190.2
nameserver 8.8.8.8
[root@k8s-master wlf]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=39.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=128 time=44.5 ms

0 人点赞