Telnet 端口不通的两种现象
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Telnet 端口不通的两种现象相关的知识,希望对你有一定的参考价值。
telnet 1.1.1.1 8080 提示connection time out,remote host not responding 与connection refused by remote host有什么区别呢?
Connection timed out, remote host not responding" means that your telnet client was not able to establish a connection with the remote host at all within a certain period of time. This usually indicates that there is a network connectivity issue between your client and the remote host, or the remote host may be offline.
On the other hand, "Connection refused by remote host" means that the remote host received your connection request, but it actively rejected it, either because the port you are trying to connect to is closed, or there are firewall rules in place that prevent your connection.
In summary, "Connection timed out, remote host not responding" suggests a network connectivity issue, while "Connection refused by remote host" indicates that the remote host actively rejected your connection request.
Connection timed out, remote host not responding" 的意思是您的 telnet 客户端无法在一定时间内与远程主机建立连接。这通常表示您的客户端与远程主机之间存在网络连接问题,或者远程主机可能已经下线。
另一方面,"Connection refused by remote host" 的意思是远程主机收到了您的连接请求,但它积极地拒绝了它,这可能是因为您尝试连接的端口关闭了,或者存在防火墙规则阻止您的连接。
总之,"Connection timed out, remote host not responding" 表示存在网络连接问题,而 "Connection refused by remote host" 表示远程主机积极地拒绝了您的连接请求。
以上是关于Telnet 端口不通的两种现象的主要内容,如果未能解决你的问题,请参考以下文章
telnet命令怎么看端口通不通linux(如何测试telnet端口通不通)