V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
w88975
V2EX  ›  Windows

Win10 的 localhost 不能指定 IP

  •  
  •   w88975 · 2016-02-02 12:39:16 +08:00 · 2314 次点击
    这是一个创建于 3014 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 OSX 下开的 PD 虚拟机,改 hosts 文件,但发现 localhost 无法指定到其他 IP 地址,只能是 127.0.0.1
    其他的 hosts 配置都正常,求解决办法

    xbonline
        1
    xbonline  
       2016-02-02 14:55:14 +08:00
    hosts 文件里面有说明:
    # localhost name resolution is handled within DNS itself.

    貌似从 vista 开始就有了
    w88975
        2
    w88975  
    OP
       2016-02-02 16:45:41 +08:00
    @xbonline 嗦嘎 不知道有没有办法能够解决呢 毕竟 win7 都可行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2390 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:13 · PVG 19:13 · LAX 04:13 · JFK 07:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.