Telnet connection closes immediately upon connecting

Allen, Jack Jack.Allen at
Mon Oct 15 20:49:20 UTC 2007

	Add "instances = unlimited"  or what ever number you want to
limit the number of telnet connections to in the /etc/xinetd.d/telnet
file. I forget what the default limit is.

Jack Allen

-----Original Message-----
From: Kristoffer Knigga [mailto:Kknigga at] 
Sent: Monday, October 15, 2007 4:14 PM
To: redhat-list at
Cc: Andy Plamann; Corey Reichle
Subject: Telnet connection closes immediately upon connecting

Hello all,

I have a legacy application that I have running on a couple of RHEL AS
4.5 servers that requires telnet connections.  We are currently in the
process of fixing this requirement, but I digress.  This weekend we
rolled out a new server with this application and soon after users
started hitting it this morning telnetd started dropping new connections
as soon as they were made.  By all accounts, existing telnet sessions
and ssh were unaffected.

$ telnet localhost
Connected to localhost.localdomain (
Escape character is '^]'.
Connection closed by foreign host.

This can be fixed by simply restarting xinetd, but it's kind of
annoying.  I haven't been able to find a pattern yet as to what triggers
this, either.  I've checked iptables and tcp wrappers, but neither
looked to be the culprit.  /var/log/messages looks clean, too.

Any thoughts on either how to resolve this or get more information?


Kristoffer Knigga
Systems Administrator
Arrow Financial Services
kknigga at

redhat-list mailing list
unsubscribe mailto:redhat-list-request at

More information about the redhat-list mailing list