linux使用telnet localhost connection refused

 时间:2026-04-24 17:48:21

1、如图所示,遇到了connection refused问题;

linux使用telnet localhost connection refused

2、首先使用netstat -a | grep telnet;从结果看,没有开启该服务;

apt-get install openbsd-inetd;安装openbsd-inetd

linux使用telnet localhost connection refused

3、之后,使用apt-get install telnetd安装telnetd

linux使用telnet localhost connection refused

4、然后/etc/init.d/openbsd-inetd restart;重启openbsd-inetd

linux使用telnet localhost connection refused

5、如图所示,再次查看telnet运行状态,可以看到正在listen

linux使用telnet localhost connection refused

6、如图所示,现在可以成功的telnet localhost啦

linux使用telnet localhost connection refused

  • 如何测试网络端口通不通
  • 怎么查看jenkins版本
  • 500错误原因解决方法
  • telnet不是内部或外部命令如何解决
  • 如何找到服务器日志
  • 热门搜索
    手心脚心出汗是怎么回事 减肥营养菜谱 铁骆驼电瓶修复怎么样 三打白骨精故事简介 河蟹怎么做 溧阳天目湖旅游攻略 拔罐减肥法 跳绳 减肥 快穿之表妹攻略 三国志曹操传攻略