netstat里面的0.0.0.0是什么意思
D:\Fport>netstat-an
ActiveConnections
ProtoLocalAddressForeignAddressState
TCP0.0.0.0:800.0.0.0:0LISTENING
TCP0.0.0.0:4430.0.0.0:0LISTENING
TCP0.0.0.0:4450.0.0.0:0LISTENING
TCP0.0.0.0:11100.0.0.0:0LISTENING
TCP0.0.0.0:33060.0.0.0:0LISTENING
TCP127.0.0.1:10250.0.0.0:0LISTENING
TCP127.0.0.1:1047127.0.0.1:1048ESTABLISHED
TCP127.0.0.1:1048127.0.0.1:1047ESTABLISHED
TCP127.0.0.1:1051127.0.0.1:1052ESTABLISHED
TCP127.0.0.1:1052127.0.0.1:1051ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:1833ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:1863ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:1865ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:1892ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:1975ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:2023ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:2035ESTABLISHED
TCP127.0.0.1:1110127.0.0.1:2057TIME_WAIT
TCP127.0.0.1:1110127.0.0.1:2065ESTABLISHED
TCP127.0.0.1:2283127.0.0.1:1110TIME_WAIT
TCP192.168.1.113:183472.14.203.160:80ESTABLISHED
TCP192.168.1.113:2260209.85.147.18:80FIN_WAIT_1
TCP192.168.1.113:2262209.85.147.18:80ESTABLISHED
TCP192.168.1.113:2270211.100.26.125:80LAST_ACK
UDP0.0.0.0:445*:*
UDP0.0.0.0:500*:*
UDP0.0.0.0:1036*:*
UDP0.0.0.0:1053*:*
UDP0.0.0.0:1054*:*
UDP0.0.0.0:1055*:*
UDP0.0.0.0:1056*:*
UDP0.0.0.0:1057*:*
UDP0.0.0.0:1058*:*
UDP0.0.0.0:1059*:*
UDP0.0.0.0:4500*:*
UDP127.0.0.1:123*:*
UDP127.0.0.1:1900*:*
UDP192.168.1.113:123*:*
UDP192.168.1.113:1900*:*
UDP192.168.30.68:123*:*
UDP192.168.30.68:1900*:*
这里的0.0.0.0是什么意思?
解释:
1、0.0.0.0代表本机上可用的任意地址。比如0.0.0.0:135表示本机上所有地址的135端口,这样多ip计算机就不用重复显示了。
2、TCP0.0.0.0:80表示在所有的可用接口上监听TCP80端口
3、0.0.0.0为默认路由,即要到达不再路由表里面的网段的包都走0.0.0.0这条规则