V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
z123
V2EX  ›  Linux

IP 地址为 0.0.0.0 是什么意思?

  •  
  •   z123 · 2018-07-11 17:36:24 +08:00 · 4940 次点击
    这是一个创建于 2087 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在 Linux 终端敲:
    route
    回显:
    ------------------------------------------------------
    Kernal IP routing tabe
    Destination Gateway Genmask
    default _gateway 0.0.0.0
    192.168.1.0 0.0.0.0 255.255.255.0
    -------------------------------------------------------
    7 条回复    2018-07-12 09:08:54 +08:00
    Showfom
        1
    Showfom  
       2018-07-11 17:38:17 +08:00   ❤️ 1
    所有本机的 IPv4 地址

    In the context of servers, 0.0.0.0 can mean "all IPv4 addresses on the local machine".

    https://en.wikipedia.org/wiki/0.0.0.0
    HenrikC
        2
    HenrikC  
       2018-07-11 17:40:02 +08:00
    默认路由
    1O
        3
    1O  
       2018-07-11 17:40:17 +08:00
    t6attack
        4
    t6attack  
       2018-07-11 18:01:19 +08:00
    你可以把它理解为*.*.*.*
    比如一个网络服务绑定到 0.0.0.0,相当于同时绑定了公网 IP、局域网 IP、本机 IP
    LGA1150
        5
    LGA1150  
       2018-07-11 20:24:44 +08:00
    “未指定”
    higoge
        6
    higoge  
       2018-07-11 20:32:02 +08:00
    1 楼正解,4 楼正解
    ingin
        7
    ingin  
       2018-07-12 09:08:54 +08:00 via Android
    @Showfom 你是我在 v 站关注的第一个人,感动不!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2918 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:16 · PVG 23:16 · LAX 08:16 · JFK 11:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.