[102492] in RedHat Linux List
Re: can't telnet to localhost
daemon@ATHENA.MIT.EDU (John Duquette)
Thu Dec 3 13:16:34 1998
To: redhat-list@redhat.com
In-Reply-To: Your message of "Wed, 02 Dec 1998 22:59:24 CST."
<Pine.BSF.3.96.981202225208.10680A-100000@adam.enteract.com>
Date: Thu, 03 Dec 1998 11:45:05 -0500
From: John Duquette <jduquette@icsa.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>
> Hi:
>
> I can't seem to telnet into my RH5.2 box. Whenever I try, it connects to
> the host sucessfully, but then states the connection was closed...
> instantly. From the console, I've tried 'telnet localhost', 'telnet
> 127.0.0.1', 'telnet machinename' ... everything. I've also tried
> telnetting to it from across the net: no luck still. I can ping all the
> above hostnames just fine though. I've looked at inet.conf, and telnet is
> not commented out. Local mail and other processes are working just fine.
>
> Any help would be appreciated! Thanks much,
>
Robert,
Make sure you don't have ALL: ALL in your etc/hosts.deny, or if you do that you allow telnet from the localhost in etc/hosts.allow something like:
in.telnetd: localhost
Or any other host that you want to telnet to. For what its worth, if you are going to allow remote access you should use something like ssh instead of normal telnet.
john
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.