Click to See Complete Forum and Search --> : Telnet Connection Refuse


coolego1
02-28-2004, 12:00 PM
I am extremely new to linux and I am setting up a small home network (2 computers). I have both compute running Red Hat 9. When I try to telnet to one of them from the other, I get the error:
Unable to connect to remote host: Connection refused
I am assuming that this is because some port is blocked for security, but when I installed Linux, I chose No Firewall because I have a hardware firewall so I am unsure of what the remedy to this problem is.

-Thanks

jumpedintothefire
02-28-2004, 12:15 PM
Welcome, sounds like the service is not setup, check that with netstat -nat
Is port 23 in a listen state?
On redhat telnet runs out of xinetd, which has config files in the /etc/xinetd.d directory check for the telnet file there.
open up that file and edit the disable = to read no
save and restart xinetd recheck with netstat.
have fun...

ev8r
02-28-2004, 12:16 PM
try to ssh to the remote host instead of telnet. i may be wrong, but i dont think telnet is enabled by default as its insecure.

coolego1
02-28-2004, 01:46 PM
Thanks guys,
I edited the telnet config file and that fixed the problem. ssh also worked, but I needed telnet to connect to my linux boxes from the windows ones that are also on my network.

bwkaz
02-28-2004, 02:24 PM
Why not use Putty from Windows?

http://www.chiark.greenend.org.uk/~sgtatham/putty/

It's what I use from work when I need to get accesss to my home server. :)