|
[root@localhost i386]# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2804/mysqld
tcp 0 0 222.230.14.16:80 0.0.0.0:* LISTEN 4433/(squid)
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN 4350/httpd
tcp 0 0 127.0.0.1:2006 0.0.0.0:* LISTEN 27724/php
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 26234/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 27724/php
tcp 0 0 :::22 :::* LISTEN 2674/sshd
udp 0 0 0.0.0.0:16384 0.0.0.0:* 4433/(squid)
udp 0 0 0.0.0.0:3130 0.0.0.0:* 4433/(squid)
我说的本地地址的四种类型:
0 0.0.0.0
222.230.14.16
127.0.0.1
:::
都是本地地址为何要有这四种类型呢?都是代表什么含义跟作用呢? |
|