Re: Can't telnet ...

From: Yhetti (spam_at_vaix.net)
Date: 11/08/03


Date: Fri, 07 Nov 2003 23:21:10 -0500

On Thu, 06 Nov 2003 17:08:33 +0000, WipeOut wrote:

> Jordan
>> Hi,
>>
>> I have just installed Red Hat 9 (Server1), and I can't telnet to it. I have
>> no problems telneting from the linux machine(Server1) to any of your other
>> AIX machines (Server2 and Server3) on the network, but when I try to telnet
>> to the linux (Server1) I get:
>> telnet: connect: A remote host did not respond within the timeout
>> period
>>
>> I can however telnet to localhost from Server1, and Server2 and Server3 can
>> ping Server1 .
>>
>> I have checked the following thus far:
>> /etc/services -- telnet was there for udp and tcp
>> rpm -qa |grep telnet-server -- the telnet-server was loaded onto the
>> system
>> /usr/sbin/in.telnetd exists
>> I'm running xinetd -- from output of 'ps -aux |grep xinetd.d'
>> /etc/xinetd.d/telnet - changed 'disable = yes' to 'no', I then
>> restarted the deamon with '/sin/service xinetd restart'
>> Added entries for remote servers in /etc/hosts
>> Edited /etc/hosts.allow -- added in.telnetd servername1 servername2
>> Made sure nothing was in /etc/hosts.deny (will setup proper security
>> once it gets up and running, probably won't even use telnet but ssh)
>>
>> I'm out of ideas, can anyone help?
>>
>> Thanks in Advance
>>
>> Jordan
>>
>>
>>
>>
>
> If you are sure the telnet daemon is running then its probably a
> firewall issue, try shutting down IPTABLES and see if you are able to
> connect..
>
> By Default Telnet is disabled becasue it is very insecure, even if you
> enable the daemon root will not be able to login with telnet..
>
> I would strongly suggest that you change over from telnet to ssh on this
> server and all the others as well..
>
> Later..

I agree with all that, but I didn't notice a listing for "netstat".

Do a "netstat -anp |grep 23" and make sure something is actually
*listening* on TCP port 23. Even though all the configs are there and may
be correct, it does not mean xinetd is doing it's job. If port 23 isn't
listening, check the logs (/var/log) and figure out why xinet died.

-Y



Relevant Pages

  • Re: No incoming mail from outside -- FIXED
    ... Exchange System Manager to Default Virtual SMTP Server properties and ... > I reran CEICW and ISA has rules allowing TCP port 25 in and out to/from ... > Portqry and Telnet from local addresses show Exchange is listening on TCP ...
    (microsoft.public.windows.server.sbs)
  • Re: IMAPS and/or openssl problem
    ... telnet sounds like the behavior of openssl. ... I would first confirm that something is still listening on your external ... PORT STATE SERVICE ... Filtered means that a firewall, filter, or other network obstacle is ...
    (Fedora)
  • Re: Telnet to Localhost but not Server IP
    ... If there is nothing listening on TCP port 25 on IP address 192.168.0.1 make ... > The error when trying to telnet to IP is: Could not open connection to the ... >>> but cannot telnet to the mail server using the servers IP: ...
    (microsoft.public.windows.server.networking)
  • Re: IMAPS and/or openssl problem
    ... telnet sounds like the behavior of openssl. ... I would first confirm that something is still listening on your external ... PORT STATE SERVICE ... Filtered means that a firewall, filter, or other network obstacle is ...
    (Fedora)
  • Re: IMAPS and/or openssl problem
    ... Trying <server IP address> ... telnet sounds like the behavior of openssl. ... I would first confirm that something is still listening on your external ... PORT STATE SERVICE ...
    (Fedora)