I had the same problems, and here it was caused with too tight security:
if you are
running inetd ( and it looks like you are..), you should check whether
the telnet-port is open to connections,
i.e. check your inetd.conf - file, fix it and restart inetd (kill -SIGHUP
<pid of inetd, look it up with ps -ax >
or /etc/rc.d/init.d/inet restart ).
At my computer this port was not open, and I got the same error.
It could also be the result of another security-tool, like ipchains,
which just forbids anybody to connect at
this port. If you're running a tool like this, check the permissions and
restart the program. For more info, check
the excellent HOWTO's on this subject or the rather cryptic man-pages.
Make sure you don't op these ports for just everybody, since this could
get your machine
hacked if it's on the internet (or by local users if it's not)!
Ralf Wahner schreef:
> I'd like to setup a small local linux-network by use auf 192.168.* IP
> numbers. The PCs are 192.168.0.1 and 192.168.0.2. telnet 192.168.0.1
> (on 192.168.0.2) runs. telnet 192.168.0.2 (on 192.168.0.1) causes the
> Trying 192.168.0.2...
> Connected to 192.168.0.2.
> Escape character is '^]'.
> Connection closed by foreign host.
> Remark: ping, rlogin and ftp runs in both directions.
> Could I ask you for a hint?