以远程日志服务为例

Suse
# netcat -v -zu -w2 192.168.2.129 111
192.168.2.129: inverse host lookup failed: Host name lookup failure
(UNKNOWN) [192.168.2.129] 111 (sunrpc) open

Rhel
# nc -v -zu -w2 192.168.100.20 514
Connection to 192.168.100.20 514 port [udp/syslog] succeeded!