telnet localhost: connnection refused

Posted on 2004-11-07
Medium Priority
Last Modified: 2010-03-18
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.

Question by:tongueroo
  • 2
  • 2
LVL 38

Expert Comment

ID: 12520784

   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.


Author Comment

ID: 12520795
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.

Author Comment

ID: 12520816
I dont see an uncommented telnetd enrty in the /etc/inetd.conf file at all, so what do I have to type in there?
LVL 38

Accepted Solution

wesly_chen earned 2000 total points
ID: 12520866
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.


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question