telnet:connect to address X.X.X.X:Connection refused

我叫素小胖 2019-06-24 01:29:26
telnet x.x.x.x 22显示
telnet:connect to address X.X.X.X:Connection refused
telnet:Unable to connect to remote host:Connection refused

xinetd服务正常运行,/etc/hosts.allow和/etc/hosts.deny中都没有任何限制,请各位大神帮忙解决

...全文
1350 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
大龙kl 2019-09-19
  • 打赏
  • 举报
回复
防火墙对应的服务没有开
我叫素小胖 2019-06-24
  • 打赏
  • 举报
回复
我知道原因了,iptables的INPUT做了限制,添加相应的IP就去就可以了
zhangpfly 2019-06-24
  • 打赏
  • 举报
回复
22号端口是sshd服务吧?什么系统?是centos的吗?
重启sshd服务试试,/etc/init.d/sshd restart

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧