[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to telnet to localhost



On Thu, 2001-10-25 at 12:02, John Purser wrote:
> Hello,
> 
> I'm running Debian woody with a 2.4.10 custom kernel.
> 
> In response to "telnet 127.0.0.1"  I get this error:
> telnet: Unable to connect to remote host: Connection refused
> 
> I can ping 127.0.0.1 but not telnet to it.  I'm guessing telnet connectivity
> is turned off by default.  Where do I go to turn it on?  I haven't used
> telnet on my network before but it's suggested as a test in a HOW-TO I'm
> working through.
> 

Firstly ... telnet is not a good idea, look into ssh for everything
telnet can do and more.  But you can check to see if telnet is enabled
in your /etc/inetd.conf if the telnet line is uncommented (Suggestion=if
it is enabled install ssh and disable telnet).

It also may be  refusing you due to the (IIRC) default configuration of
deny all parnanoid hosts in /etc/hosts.deny.  Check your DNS,
/etc/hostname and /etc/hosts for possible mismatches.

--mike




Reply to: