ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Henri Bourbon <npecca@yahoo.com>
To: "Peter V. Saveliev" <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Which TCP (UDP) port does IMAP (DNS, HTTPS, KPSS 8-) use?
Date: Fri Nov  2 14:31:19 2001
Message-ID: <20011102143547.A6701@hb.ant-on.net> (raw)
In-Reply-To: <3BE26479.E8464146@infosite.ru>; from peet@infosite.ru on Fri, Nov 02, 2001 at 12:16:41PM +0300

Fri, 02 Nov 2001 12:16 +0300, Peter V. Saveliev wrote:

> > >IMAP - 25 порт?

> > устал? smtp - 25 порт.
 
> Не устал... Просто когда _абсолютно_ неизвестную тему надо поднять
> за пару дней - получаешь красные глаза и дрожь в руках.

Петр, если Вы не прикидываетесь, и эта тема абсолютно Вам не известна,
вот рабоче-крестьянский метод, дающий ответ на любой вопрос такого типа:

Q: IMAP -- 25 порт?
A: $ grep -i imap /etc/services

Q: 465 порт -- это чево? DNS или Netbios?
A: $ grep -i 465/tcp /etc/services

Кроме того, во многих случаях Вам просто не обязательно знать номер этого
самого порта, имя сервиса достаточно. Ибо некто придумал такую штуку, как
getservbyname(), которая, грубо говоря, делает тот самый grep за Вас. А
еще кое-кто достаточно любезный включил этот getservbyname() в свою
программу. Короче говоря, не нужно писать

$ telnet some.where.right.over.there.net 143
$ telnet www.whitehouse.com 80

достаточно

$ telnet some.where.right.over.there.net imap
$ telnet www.whitehouse.com http

(или даже 'www' вместо 'http')

-- 
HB



  parent reply	other threads:[~2001-11-02 14:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-01 20:50 [mdk-re] mailing one more time Peter V. Saveliev
2001-11-01 21:47 ` AVL
2001-11-02 11:25 ` Peter V. Saveliev
2001-11-02 11:54   ` AVL
2001-11-02 12:10     ` Peter V. Saveliev
2001-11-02 13:33       ` Michael Shigorin
2001-11-02 14:31       ` Henri Bourbon [this message]
2001-11-02 14:18     ` Dmitry Lebkov
2001-11-02 15:27       ` AVL
2001-11-02 12:12   ` Serg Chernoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011102143547.A6701@hb.ant-on.net \
    --to=npecca@yahoo.com \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git