加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

解决-bash: telnet: command not found方法

(2016-12-01 14:06:50)
分类: linux
因需求需要查看某ip 端口的监听状态,但是出现-bash: telnet: command not found问题,解决方法如下:

解决办法:

1、查看telnet包是否安装:rpm -qa telnet*

2、安装telnet客户端:yum -y install telnet.*

3、安装telnet服务:yum -y install telnet-server

[root@localhost ~]# telnet 192.168.1.108 3306

Trying 192.168.1.108...

Connected to 192.168.1.108.

Escape character is '^]'.

FHost '192.168.1.108' is not allowed to connect to this MySQL serverConnection closed by foreign host.

 

 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有