From owner-freebsd-questions@FreeBSD.ORG  Sun Feb 13 15:20:26 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 047AF16A4CE; Sun, 13 Feb 2005 15:20:26 +0000 (GMT)
Received: from lakermmtao06.cox.net (lakermmtao06.cox.net [68.230.240.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2019C43D45; Sun, 13 Feb 2005 15:20:25 +0000 (GMT)
	(envelope-from bob89@bobj.org)
Received: from mail.bobj.org ([24.250.218.207]) by lakermmtao06.cox.net
          (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP
          id <20050213152024.WBEL6774.lakermmtao06.cox.net@mail.bobj.org>;
          Sun, 13 Feb 2005 10:20:24 -0500
Received: from bobj.dyndns.org ([192.168.132.161])
  (AUTH: PLAIN bobj, )
  by mail.bobj.org with esmtp; Sun, 13 Feb 2005 10:20:24 -0500
From: Bob Johnson <bob89@bobj.org>
To: freebsd-questions@freebsd.org
Date: Sun, 13 Feb 2005 10:20:13 -0500
User-Agent: KMail/1.7.2
References: <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>
In-Reply-To: <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200502131020.14551.bob89@bobj.org>
cc: bugs@freebsd.org
cc: questions@freebsd.org
cc: Fafa Diliha Romanova <fteg@london.com>
Subject: Re: WEIRD: telnet
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Feb 2005 15:20:26 -0000

On Sunday 13 February 2005 09:53 am, Fafa Diliha Romanova wrote:
> what's with this badly written error message?
>
> # telnet localhost:61
> localhost:21: hostname nor servname provided, or not known

It means it tried to look up localhost:61 and couldn't make sense out of it.  
I believe "servname" is intended to mean "service name", i.e. the port number 
or name. 
>
> have somebody compromised my telnet maybe?

No.  The correct syntax is "telnet localhost 61" or "telnet localhost ni-mail" 
where "ni-mail" is the name of the service that is officially registered to 
run on port 61.

"man telnet" might also be informative.

- Bob

>
> thanks,
> fafa