Why does telnet failes with message "localhost Name or service not known"
Issue
- why does telnet failes with message "localhost Name or service not known"
# telnet 0
Trying 0.0.0.0...
Connected to 0 (0.0.0.0).
Escape character is '^]'.
getaddrinfo: localhost Name or service not known
Connection closed by foreign host.
Environment
- Red Hat Enterprise Linux 5x
telnet-server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.