sun*_*nny 5 linux telnet bash ubuntu
我尝试使用 telnet 连接到本地主机:
% telnet localhost 6311
Run Code Online (Sandbox Code Playgroud)
此连接成功,但是当我通过计算机的外部 IP 连接时,连接失败:
% telnet x.x.x.x 6311
Trying x.x.x.x...
Connected to x.x.x.x
Escape character is '^]'.
Connection closed by foreign host.
Run Code Online (Sandbox Code Playgroud)
可能有什么问题?