LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-21-2009, 07:21 AM   #1
Swenghk
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Exclamation Telnet Problems!


Okay, when I try to telnet to anything it gives me some funky error message! When I try to connect to GMail to check my email (it's an assignment my dad gave me to help me learn TCP/IP), it tells me the connection was closed by a foreign host!:

Code:
seth@SETH-LAPTOP:~$ telnet pop.gmail.com 995
Trying 74.125.155.109...
Connected to gmail-pop.l.google.com.
Escape character is '^]'.
user sethrobert94@gmail.com
Connection closed by foreign host.
seth@SETH-LAPTOP:~$
I can't even telnet to localhost!:

Code:
seth@SETH-LAPTOP:~$ telnet localhost
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
seth@SETH-LAPTOP:~$
Can you please help me mates? Any help would be appreciated! Cheers :]
 
Old 12-21-2009, 07:29 AM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 779

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Swenghk View Post
Okay, when I try to telnet to anything it gives me some funky error message! When I try to connect to GMail to check my email (it's an assignment my dad gave me to help me learn TCP/IP), it tells me the connection was closed by a foreign host!:

Code:
seth@SETH-LAPTOP:~$ telnet pop.gmail.com 995
Trying 74.125.155.109...
Connected to gmail-pop.l.google.com.
Escape character is '^]'.
user sethrobert94@gmail.com
Connection closed by foreign host.
seth@SETH-LAPTOP:~$
google does not allow plain text connections. it only allows encrypted connections.

Quote:
I can't even telnet to localhost!:

Code:
seth@SETH-LAPTOP:~$ telnet localhost
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
seth@SETH-LAPTOP:~$
Can you please help me mates? Any help would be appreciated! Cheers :]
your telnet daemon does not work. it's always off by default as it is completely unsecure connection.
 
Old 12-21-2009, 07:34 AM   #3
Swenghk
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
But I'm not learning it to complete some task. I'm learning it for the sake of learning it. So is there another way I can learn telnet and practice it? Is there a way around those things you mentioned?
 
Old 12-21-2009, 07:36 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
telnet to the pop server from your provider
Code:
telnet pop3.provider.com
 
Old 12-21-2009, 07:37 AM   #5
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 779

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Swenghk View Post
But I'm not learning it to complete some task. I'm learning it for the sake of learning it. So is there another way I can learn telnet and practice it? Is there a way around those things you mentioned?
check the telnet service on your distros documentation. there should be a way to start telnet daemon.
 
Old 12-21-2009, 08:53 AM   #6
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,047

Rep: Reputation: 65
Try ssh.
 
  


Reply


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
Telnet problems again alaios Linux - Networking 1 02-06-2007 04:12 PM
Telnet problems xleft4dexy Linux - Networking 1 10-12-2003 07:51 AM
Telnet Problems def1014 Linux - Networking 2 08-26-2002 12:53 PM
Telnet problems Kaa Linux - Networking 8 02-21-2002 11:52 PM
Telnet problems ldogg Linux - Networking 4 01-24-2002 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:51 PM.

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