技术解析

IP 地址为 0.0.0.0 是什么意思?
0
2021-06-23 11:06:15
idczone
在 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
-------------------------------------------------------
所有本机的 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

默认路由

http://lmgtfy.com/?q=0.0.0.0

你可以把它理解为*.*.*.*
比如一个网络服务绑定到 0.0.0.0,相当于同时绑定了公网 IP、局域网 IP、本机 IP

“未指定”

1 楼正解,4 楼正解

你是我在 v 站关注的第一个人,感动不!

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服