Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
z123
V2EX  ›  Linux

IP 地址为 0.0.0.0 是什么意思?

  •  
  •   z123 · Jul 11, 2018 · 6484 views
    This topic created in 3039 days ago, the information mentioned may be changed or developed.
    在 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 replies  •  2018-07-12 09:08:54 +08:00
    Showfom
    Showfom
    PRO
    Jul 11, 2018❤️1
    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
    HenrikC
    Jul 11, 2018
    2
    默认路由
    t6attack
    t6attack
    Jul 11, 2018
    4
    你可以把它理解为*.*.*.*
    比如一个网络服务绑定到 0.0.0.0,相当于同时绑定了公网 IP、局域网 IP、本机 IP
    LGA1150
    LGA1150
    Jul 11, 2018
    5
    “未指定”
    higoge
    higoge
    Jul 11, 2018
    6
    1 楼正解,4 楼正解
    ingin
    ingin
    Jul 12, 2018 via Android
    7
    @Showfom 你是我在 v 站关注的第一个人,感动不!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2533 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 14:19 · PVG 22:19 · LAX 06:19 · JFK 09:19
    ♥ Do have faith in what you're doing.