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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
