centos – 如何修复telnet服务器的“getaddrinfo:localhost Name或service not found”?
我需要启用telnet(不,我不能使用ssh,我也不想讨论为什么我必须使用telnet),我在/etc/hosts中有127.0.0.1localhost.localdomainlocalhost.我已经安装了telnet-server,chkconfigd,并启用了xinetd.SElinux被禁用.但每当我尝试telnet到主机时,我得到“getaddrinfo:localhost名称或服务未