How do I interpret ‘netstat -a’ output

Question :

How do I interpret ‘netstat -a’ output,

Answer :

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:part2)?
  • What does a state Time_Wait, Close_Wait mean?
  • etc.

Could someone give a quick overview of how to interpret these results?

,

0.0.0.0 usually refers to stuff listening on all interfaces.
127.0.0.1 = localhost (only your local interface)
I’m not sure about [::]

TIME_WAIT means both sides have agreed to close and TCP
must now wait a prescribed time before taking the connection
down.

Read More  String output: format or concat in C#?

CLOSE_WAIT means the remote system has finished sending
and your system has yet to say it’s finished.

That’s the answer How do I interpret ‘netstat -a’ output, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  C# 2.0 code consuming assemblies compiled with C# 3.0