实验环境:CentOS6.8
主机:172.16.xxx.xxx:80
客户端:172.16.xxx.xxx
[root@www ~18:32:27]#telnet 172.16.xxx.xxx 80Trying 172.16.252.242...telnet: connect to address 172.16.252.242: Connection refused
解决方法:关闭SELinux:setenforce 0
关闭防火墙策略:iptables -F
启动telnet服务: chkconfig telnet on
最好也启动xinetd监控服务:service xinetd start
[root@www ~18:33:36]#chkconfig --list|grep "telnet" #检查telnet服务 telnet: off[root@www ~18:34:03]#chkconfig telnet on[root@www ~18:34:28]#chkconfig --list |grep "telnet" telnet: on
[root@www ~18:29:40]#yum -y install xinetd #安转xinetd服务
[root@www ~18:42:57]#service xinetd status
xinetd (pid 1452) is running...