I know this is an old post and I'm aware of the rules for reviving dead posts, but this issue appears to still be open and I have some information that might help.
When I had my telnetd running through xinetd, I confirmed that it was running by looking at the results of netstat -a.
I would attempt to make a connection from the same machine by doing:
It immediately failed with the following:
Code:
[root@homeb /etc] # telnet localhost
Trying 127.0.0.1...
Connected to <hostname>.
Escape character is '^]'.
Connection closed by foreign host.
I checked my /var/log/messages and found the following:
Code:
Mar 30 10:26:44 home xinetd[7448]: FAIL: telnet address from=127.0.0.1
I noticed in my /etc/xinetd.conf file, the default setting for the
only_from configuration was
localhost. I changed it to read:
Code:
only_from = localhost 127.0.0.1 192.168.0.0
I then restarted xinetd, and the connection finally made it through to login. I hope this helps somebody.