解决-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.
后一篇:如何修改mysql的root密码

加载中…