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、相關知識
相關文章
相關標籤/搜索