首页 > 系统相关 >linux 测试端口命令wget --- 比telnet更好

linux 测试端口命令wget --- 比telnet更好

时间:2022-11-07 11:35:24浏览次数:35  
标签:ip 255.11 端口 telnet 11.11 --- 20001 linux wget


  wget 11.11.255.11:20001

三种返回:

1 ip不通 

Connecting to 11.11.255.11:20001... 

2 ip通端口不通 

Connecting to 11.11.255.11:20001... failed: Connection refused 

3 端口通

Connecting to 11.11.255.11:20001... connected

 

理由:

1 telnet可能linux没有装,但wget 一般都有

2 telent端口通没通,但wget可以看ip不通,ip通端口没通,端口通

标签:ip,255.11,端口,telnet,11.11,---,20001,linux,wget
From: https://blog.51cto.com/u_15862653/5828350

相关文章