Submitted 05-Jun-00 by Eric Aksomitis:
> So, I set up a web server Linux Mdrk 7 machine last week. It is fully
> there and working, but one problem:
> I can't get telnet or ftp to work, even from the konsole (telnet
> localhost).
>
> It keeps on with "connection refused by host".
>
> My inetd.conf file points to telnet being serviced through tcpd to
> in.telnetd as you would expect. There is no hosts.allow or hosts.deny
> files present. This is the way mine is at home and I often telnet
> localhost to run programs as root real easy.
>
> So, after having read all the man pages, all I can think of is tcpd is
> not allowing me through, but why? If possible, I'd like to leave tcpd
> in the mix, but if not I'll just use straight in.telnetd if that works.
>
> What else am i missing, something to do with hostname resolving?
I had a similar problem, which was fixed by switching around the
/etc/hosts file. The default line was:
127.0.0.1 localhost.localdomain localhost
telnet localhost didn't work until I switched the
localhost.localdomain and localhost portions.
--
_
_|_|_
( ) * Anton Graham
/v\ / <[EMAIL PROTECTED]>
/( )X
(m_m) GPG ID: 18F78541
Penguin Powered!