Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 10:20:13 -0500
From:      Bob Johnson <bob89@bobj.org>
To:        freebsd-questions@freebsd.org
Cc:        Fafa Diliha Romanova <fteg@london.com>
Subject:   Re: WEIRD: telnet
Message-ID:  <200502131020.14551.bob89@bobj.org>
In-Reply-To: <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>
References:  <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502131020.14551.bob89>