How do I fix "getaddrinfo: localhost Name or service not found" for telnet server?
Posted
by Nick Anderson
on Server Fault
See other posts from Server Fault
or by Nick Anderson
Published on 2010-04-05T23:01:19Z
Indexed on
2010/04/05
23:03 UTC
Read the original article
Hit count: 551
I need to enable telnet (no i can't use ssh, and I don't want to discuss why I have to use telnet either), I have 127.0.0.1 localhost.localdomain localhost in /etc/hosts. I have installed telnet-server, chkconfigd it on, and enabled xinetd. SElinux is disabled. But every time I try and telnet to the host I get "getaddrinfo: localhost Name or service not known". Any ideas?
© Server Fault or respective owner