zhangyunfei-blog

Linux测试端口是否可用

TCP 端口测试

格式:telnet ip port 
telnet 10.25.5.13 22 Trying 10.25.5.13... Connected to 10.25.5.13.  //端口通 Escape character is \'^]\'. 退出使用 quit 
telnet 10.25.5.13 80 Trying 10.25.5.13... telnet:connect to address 10.25.5.13: Connection refused  //端口不通 

UDP 端口测试

例如测试告警信息通过syslog发送到某IP端口 nc -vuz 10.25.5.62 514 Connection to 10.25.5.62 514 port [udp/syslog] succeeded! //端口通

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2021-11-19
  • 2021-12-09
  • 2021-12-09
  • 2022-02-08
猜你喜欢
  • 2021-12-09
  • 2021-11-29
  • 2022-12-23
  • 2021-11-29
  • 2021-07-28
  • 2021-12-09
相关资源
相似解决方案