IP 地址为 0.0.0.0 是什么意思?

2018-07-11 17:36:24 +08:00
 z123
在 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
-------------------------------------------------------
4977 次点击
所在节点    Linux
7 条回复
Showfom
2018-07-11 17:38:17 +08:00
所有本机的 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
2018-07-11 17:40:02 +08:00
默认路由
1O
2018-07-11 17:40:17 +08:00
t6attack
2018-07-11 18:01:19 +08:00
你可以把它理解为*.*.*.*
比如一个网络服务绑定到 0.0.0.0,相当于同时绑定了公网 IP、局域网 IP、本机 IP
LGA1150
2018-07-11 20:24:44 +08:00
“未指定”
higoge
2018-07-11 20:32:02 +08:00
1 楼正解,4 楼正解
ingin
2018-07-12 09:08:54 +08:00
@Showfom 你是我在 v 站关注的第一个人,感动不!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/469977

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX