netstat 命令

a 表示所有

n 表示不查询dns

t 表示tcp协议

u 表示udp协议

p 表示查询占用的程序

l 表示查询正在监听的程序

 

netstat -nupl (UDP类型的端口)

netstat -ntpl (TCP类型的端口)

a 表示所有

n 表示不查询dns

t 表示tcp协议

u 表示udp协议

p 表示查询占用的程序

l 表示查询正在监听的程序

 

netstat -nupl (UDP类型的端口)

netstat -ntpl (TCP类型的端口)

相关文章:

猜你喜欢
  • 2021-06-21
  • 2021-04-26
  • 2021-07-31
相关资源
相似解决方案