How do I interpret 'netstat -a' output

后端 未结 7 2055
失恋的感觉
失恋的感觉 2021-01-30 22:40

Some things look strange to me:

  • What is the distinction between 0.0.0.0, 127.0.0.1, and [::]?
  • How should each part of the foreign address be read (part1:p
7条回答
  •  青春惊慌失措
    2021-01-30 23:16

    For those seeing [::] in their netstat output, I'm betting your machine is running IPv6; that would be equivalent to 0.0.0.0, i.e. listen on any IPv6 address.

提交回复
热议问题