翻译自: How to Test Port[TCP/UDP] Connectivity from a Linux Server (文档 ID 2212626.1) 适用于: Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.8 [Release OL5 to OL6U8] Information in this document applies to any platform. 目标: 在Linux服务器上检查TCP/UDP端口的连通性。 解决方案: telnet和nc 是用来测试端口连通性的一般工具。 telnet可以测试tcp端口的连通性。 nc可以测试tcp和udp端口的连通性。 请确保telnet和nc工具已经安装