windows 10 在hosts文件中将localhost更改为另一个主机,为什么它不可用?

问题描述 投票:0回答:0
  1. 我将本地主机更改为 192.168.1.222
  2. 刷新 dns
    ipconfig /flushdns
  3. ping localhost
  4. 但是不可用,为什么?谢谢

我希望,localhost可以解析到anthor host,当我在chrome中访问http://localhost时,它也可以解析到我更改的主机

google-chrome windows-10 hosts
© www.soinside.com 2019 - 2024. All rights reserved.