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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


   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.

tonguerooAuthor Commented:
My real problem is that I can't send up an email server, and thought that this might have something to do with it.

Thanks, I'll try it.
tonguerooAuthor Commented:
I dont see an uncommented telnetd enrty in the /etc/inetd.conf file at all, so what do I have to type in there?
Well, for security reason, the in.telnetd is not installed with the base system on Debain woody.
You can install it with "apt-get install telnetd".

However, the mail server is nothing to do with telnetd.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.