Windows - “netstat -an -p tcp”不显示IPv6外部地址(“netstat -an”确实如此)

时间:2016-03-11 14:01:31

标签: windows tcp ip ipv6 netstat

在Windows上有谁知道为什么“netstat -an -p tcp”不显示IPv6地址,但为什么“netstat -an”会显示它们?

我非常怀疑它是否正在将IPv6地址解析为IPv4,但这让我感到很困惑。

1 个答案:

答案 0 :(得分:3)

来自控制台中的<h2>X-Axis</h> <select id="xAX" name="xAX"> <option value ="Distance" selected>Distance</option> <option value ="Redshift">Redshift</option> </select> <div id="chartContainer"> <script src="http://d3js.org/d3.v3.min.js"></script> <script src="http://dimplejs.org/dist/dimple.v2.1.2.min.js"></script> <script type="text/javascript"> var svg = dimple.newSvg("#chartContainer", 900, 900); var dropdown = d3.select("#xAX") var xAxis; var myChart; var draw = function() { var source = dropdown.node().options[dropdown.node().selectedIndex].value; d3.csv("tabula.csv", function(data) { myChart = new dimple.chart(svg, data); myChart.setBounds(100, 180, 730, 550) xAxis = myChart.addMeasureAxis("x", source); myChart.addMeasureAxis("y", "Redshift"); myChart.addMeasureAxis("z", "IRAS12um"); myChart.addSeries("Type", dimple.plot.bubble); myChart.addLegend(70, 10, 610, 80, "right"); myChart.draw(); }); } var change = function() { var source = dropdown.node().options[dropdown.node().selectedIndex].value; xAxis.categoryFields = source; myChart.draw(); }; dropdown.on("change", change); draw(); </script> (或[MS.Docs]: Netstat):

  

netstat /?

因此,在指定-p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.时,它只显示 TCP v4 连接(通过过滤掉所有其余连接),而不指定任何协议,它全部显示它们(不过滤任何东西)。