Link to home
Start Free TrialLog in
Avatar of tongueroo
tongueroo

asked on

telnet localhost: connnection refused

telnet localhost: connnection refused, cant telnet in my debian system.

How do I fix this?

Funny, this is that Ive set up my apache webserver and its working fine.  Also, I can ssh into my computer remotely too.

I have opened up ports 21, 22, 25, and 80 already.



Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

   You need to edit /etc/inetd.conf to enable the telnetd on your Debian machine. Then restart the inetd.

   By the way, since you can ssh into your Debian, why do you need telnet? ssh is much better than telnet
in security and feature (such as ssh can forward Xsession which telnet can't). ssh is highly recommended.

Wesly
Avatar of tongueroo
tongueroo

ASKER

My real problem is that I can't send up an email server, and thought that this might have something to do with it.
https://www.experts-exchange.com/questions/21197842/setting-up-mail-server-debian-postfix.html

Thanks, I'll try it.
Tung
I dont see an uncommented telnetd enrty in the /etc/inetd.conf file at all, so what do I have to type in there?
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial