sinotw
V2EX  ›  Safari

Safari 为什么不能解析 0.0.0.0 地址?

  •  
  •   sinotw · Apr 14, 2025 · 3560 views
    This topic created in 429 days ago, the information mentioned may be changed or developed.

    比如本机起一个默认的 nginx ,用 firefox 、edge 、chrome 、brave 都可以访问 0.0.0.0 打开 nginx 默认首页,唯独 safari 不行。 我还发现启动代理的时候,只要系统代理的 ip 设为 0.0.0.0 ,safari 就不能科学上网,必须设为 127.0.0.1 才行,别的就没这毛病

    7 replies    2025-04-15 13:25:50 +08:00
    yinmin
        1
    yinmin  
       Apr 14, 2025
    adguard 的禁用域名返回 0.0.0.0 ,这个地址应该是不可达的呢
    realpg
        3
    realpg  
    PRO
       Apr 14, 2025
    0.0.0.0 难道不应该是 ERR_ADDRESS_INVALID
    areless
        4
    areless  
       Apr 14, 2025 via Android
    0.0.0.0 在大部分 net 函数里代表所有地址。。。用了这些库就不能 0.0.0.0 了。是共识。这要能解析还得了。。。
    xqzr
        5
    xqzr  
       Apr 14, 2025
    Windows 也不可以 0.0.0.0 作为目标
    wheat0r
        6
    wheat0r  
       Apr 15, 2025
    啊?难道应该可以吗?
    guo4224
        7
    guo4224  
       Apr 15, 2025
    啊?难道应该可以吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1007 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 19:28 · PVG 03:28 · LAX 12:28 · JFK 15:28
    ♥ Do have faith in what you're doing.