linux ping localhost不通,127.0.0.1能通

1、解决方法 /etc/nsswitch.conf文件中的hosts默认是hosts: files dns 能ping通localhost数据库 若是修改了hosts文件为hosts: dns files 之后windows 就ping不通localhost了.安全 修改为默认值之后,就能够ping localhost了服务器 #hostname -i网络 127.0.0.1dom 2、相关知识
相关文章
相关标签/搜索