Linux 测试IP和端口是否能访问 一、 使用wget判断 wget是linux下的下载工具,需要先安装. 用法: wget ip:port 连接存在的端口 转自:https://blog.csdn.net/weixin_37689230/article/details/82803879