- 论坛徽章:
- 1
|
对于udp,你可以使用nc
[monitor@J111 ~]$ netstat -nupl|grep 123
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
udp 0 0 169.254.95.120:123 0.0.0.0:* -
udp 0 0 10.1.1.1:123 0.0.0.0:* -
udp 0 0 127.0.0.1:123 0.0.0.0:* -
udp 0 0 0.0.0.0:123 0.0.0.0:* -
udp 0 0 fe80::e61f:13ff:fe6:123 :::* -
udp 0 0 fe80::e61f:13ff:fe6:123 :::* -
udp 0 0 fe80::e61f:13ff:fed:123 :::* -
udp 0 0 fe80::e41f:13ff:fe5:123 :::* -
udp 0 0 ::1:123 :::* -
udp 0 0 :::123 :::* -
[monitor@JSIDC-BICS-PTL01-X3650M3 ~]$ nc -zu 127.0.0.1 23
[monitor@JSIDC-BICS-PTL01-X3650M3 ~]$ nc -zu 127.0.0.1 123
Connection to 127.0.0.1 123 port [udp/ntp] succeeded!
更多信息,
man nc |
|