我有一个新的Ubuntu安装,我无法连接到localhost或127.0.0.1或使用我的计算机名称。
telnet localhost [tried all/no port numbers]
回报
telnet: Unable to connect to remote host: Connection refused
我需要做任何配置才能使其工作吗?它会被默认禁用吗?
我有一个新的Ubuntu安装,我无法连接到localhost或127.0.0.1或使用我的计算机名称。
telnet localhost [tried all/no port numbers]
回报
telnet: Unable to connect to remote host: Connection refused
我需要做任何配置才能使其工作吗?它会被默认禁用吗?
Answers:
你确定telnetd正在运行吗?
sudo apt-get install telnetd
问:是否启用了“telnet”?
如果不是,或者你的iptables防火墙被配置为阻止telnet,那么你将得到这个错误:)尝试“ apt-get install telnetd
”。
和 别 尝试“telnet”除了在你的本地局域网 - 它是 不 安全!!!!始终使用SSH代替。
此链接可能有所帮助: