该在的端口没出现在 LISTEN 里,最可能是【0】。
LISTEN
ss 模型:rows = [(状态, 端口)]。listening 交回 LISTEN 的端口;is_listening(rows, 端口) 在不在听;conn_count(rows, 状态) 某状态几条连接。
rows
listening
is_listening(rows, 端口)
conn_count(rows, 状态)
全部评论