telnet出现Connection closed by foreign host

时间:2023-03-09 14:27:54
telnet出现Connection closed by foreign host

2018-10-26


执行命令:

telnet smtp.exmail.qq.com 

出现信息:

[root@pengman Desktop]# telnet 

Tring 

Connected to 10.223.30.128 (10.223.30.128)  // 表示已经成功连接

Escape character is '^]'  // 不是报错,"^]" 中的^ 表示 ctrl键,表示此时 同时按 Ctrl 和 ]   两个键进入telnet客户端的命令模式

Connection closed by foreign host. //长时间没有其他命令数据输入,linux自动关闭相应的连接