Linux 下 TCP/UDP 端口测试
1.telnet测试TCP端口连通//安装telnet和nc[root@Test ~]# telnet ip 端口Trying xxxxxx...Connected to xxxxxxx.Escape character is '^]'.^CConnection closed by foreign host.2.nc工具测试TCP和UDP的连通性//测试tcp的连通性// 参数告诉netcat使用0 IO,连接成功后立即关闭连接, 不进行数据交换//v 参数指使用冗余选项//n 参数
原创
2020-08-09 16:57:30 ·
609 阅读 ·
0 评论