Reading output from netstat
This is a n00b question, please bear with me. Can you please confirm if I am reading the netstat output right:
Code:
[root@mx2 ~]# netstat -ntlp Code:
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 5115/mysqld Code:
tcp 0 0 :::22 :::* LISTEN 4963/sshd I am a bit confused about the difference between 0.0.0.0 and :::. Do they mean the same? And are all my other interpretations correct? |
That output seems altered. Generally you see the ::: notation for services that have a tcp6 port open, it means the same as 0.0.0.0. Things like ssh will typically open a tcp4 and a tcp6 listener so it'll show up in netstat twice, once with 0.0.0.0 and once with :::
|
All times are GMT -5. The time now is 03:44 AM. |