Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-21-2010, 10:10 PM   #1
Registered: Aug 2009
Posts: 349

Rep: Reputation: 16
telnet error ---

i set up a MAC power pc with ubuntu.
i can ssh into it, but i cannot telnet.

this is what i get when i telnet to the host

i can only telnet to port 80

icasper@casper-laptop:~$ telnet 80
Connected to
Escape character is '^]'.
<title>501 Method Not Implemented</title>
<h1>Method Not Implemented</h1>
<p>w to /index.html not supported.<br />
<address>Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.6 with Suhosin-Patch Server at Port 80</address>
Connection closed by foreign host.
Old 08-21-2010, 10:31 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

The "telnet" client is a handy-dandy tool that lets you connect to any port you want (for example, HTTP port 80) and send and receive characters with the server on that port. It's great for troubleshooting SMTP problems, or verifying you can connect to an HTTP web server.


A "telnet" client's main purpose is to ... well, to do "telnet".

And it sounds like you don't have a telnet server running on your host.

Not surprising: telnet is NOT installed or enabled by default on most Linux hosts nowadays. Using "telnet" across the internet is dangerous - because your username and password are transmitted in clear text.

So if you want to use telnet in-house (I do all the time) - just install a telnet server and enable it.

And if you want to use telnet over the internet ... I strongly urge you to reconsider, and just use "ssh" instead.


Last edited by paulsm4; 08-21-2010 at 10:33 PM.
Old 08-21-2010, 11:57 PM   #3
LQ Newbie
Registered: Oct 2007
Location: Austin/Warsaw
Distribution: oSuse 11.1
Posts: 12

Rep: Reputation: 1
Dittos @paulsm4. Telnet server seems arbitrary if you have ssh up n running.


Perhaps a firewall is blocking incoming telnet connections. Can you telnet out?

Run this from the server to make sure telnet port is open. Though clearly it is not recommended for internet interfaces.

Last edited by xtacease; 08-21-2010 at 11:57 PM. Reason: nmap, not namp :)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with telnet naw_deepak Linux - General 5 10-06-2017 02:03 PM
Error while connecting with telnet naw_deepak Linux - General 3 01-12-2009 10:58 PM
Telnet Error paragkalra Linux - Networking 1 12-20-2007 05:57 PM
error while connecting through telnet anurag1510 Red Hat 4 09-20-2005 08:49 AM
telnet error -- help! calebsg Linux - Networking 1 11-04-2002 06:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration