😆
ポート番号とは
1. ポート番号とは?
ポート番号とは、コンピュータがネットワーク上で通信を行う際に、どのアプリケーション(サービス)と通信するかを識別するための番号です。IPアドレスが「どのコンピュータか」を示すのに対し、ポート番号は「そのコンピュータのどのサービスか」を示します。
2. ポート番号の種類
ポート番号は、0から65535までの範囲で割り当てられています。以下のように分類されます:
- ウェルノウンポート: 0から1023までのポート番号。一般的なサービスに使用されます。
- 登録ポート: 1024から49151までのポート番号。特定のアプリケーションに使用されます。
- ダイナミック/プライベートポート: 49152から65535までのポート番号。動的に割り当てられることが多いです。
3. 一般的なポート番号一覧
以下は、一般的なポート番号の一覧です:
| ポート番号 | TCP/UDP | サービス名 | 説明 |
|---|---|---|---|
| 1 | TCP | tcpmux | TCP Port Service Multiplexer |
| 7 | TCP | echo | Echo |
| 9 | TCP | discard | Discard |
| 11 | TCP | systat | Active Users |
| 13 | TCP | daytime | Daytime (RFC 867) |
| 17 | TCP | qotd | Quote of the Day |
| 19 | TCP | chargen | Character Generator |
| 20 | TCP | ftp-data | File Transfer [Default Data] |
| 21 | TCP | ftp | File Transfer [Control] |
| 22 | TCP | ssh | SSH Remote Login Protocol |
| 23 | TCP | telnet | Telnet |
| 25 | TCP | smtp | Simple Mail Transfer |
| 37 | TCP | time | Time |
| 42 | TCP | nameserver | Host Name Server |
| 43 | TCP | nicname | Who Is |
| 49 | TCP | tacacs+ | TACACS+ |
| 53 | TCP/UDP | domain | Domain Name Server |
| 70 | TCP | gopher | Gopher |
| 79 | TCP | finger | Finger |
| 80 | TCP | http (www-http) | World Wide Web HTTP |
| 88 | TCP | krb5 kerberos-sec | Kerberos |
| 95 | TCP | supdup | SUPDUP |
| 101 | TCP | hostname | NIC Host Name Server |
| 102 | TCP | iso-tsap | ISO-TSAP Class 0 |
| 109 | TCP | pop2 | Post Office Protocol - Version 2 |
| 110 | TCP | pop3 | Post Office Protocol - Version 3 |
| 111 | TCP | sunrpc | SUN Remote Procedure Call |
| 113 | TCP | auth (ident) | Authentication Service |
| 115 | TCP | sftp | Simple File Transfer Protocol |
| 117 | TCP | uucp-path | UUCP Path Service |
| 119 | TCP | nntp | Network News Transfer Protocol |
| 123 | TCP | ntp | Network Time Protocol |
| 143 | TCP | imap | Internet Message Access Protocol |
| 163 | TCP | cmip-man | CMIP/TCP Manager |
| 164 | TCP | cmip-agent | CMIP/TCP Agent |
| 177 | TCP | xdmcp | X Display Manager Control Protocol |
| 179 | TCP | bgp | Border Gateway Protocol |
| 194 | TCP | irc | Internet Relay Chat Protocol |
| 220 | TCP | imap3 | Interactive Mail Access Protocol v3 |
| 389 | TCP | ldap | Lightweight Directory Access Protocol |
| 443 | TCP | https | HTTP protocol over TLS/SSL |
| 465 | TCP | smtps | SMTP over SSL |
| 515 | TCP | printer | Printer spooler (lpr) |
| 587 | TCP | submission | Submission |
| 636 | TCP | ldaps | LDAP protocol over TLS/SSL |
| 989 | TCP | ftps-data | FTP protocol, data, over TLS/SSL |
| 990 | TCP | ftps | FTP protocol, control, over TLS/SSL |
| 993 | TCP | imaps | IMAP4 protocol over TLS/SSL |
| 995 | TCP | pop3s | POP3 protocol over TLS/SSL |
4. まとめ
ポート番号は、ネットワーク通信において非常に重要な役割を果たします。この記事を通じて、ポート番号の基本的な概念と一般的なポート番号の一覧について理解を深めていただければ幸いです。
Discussion